var result3 = document.evaluate('//div[@class="r"]/a[1]', document, null, 7, null);
var u_list = "";
for (var i = 0; i < result3.snapshotLength; i++) {
u_list = u_list + " " + result3.snapshotItem(i).href;
}
var result = document.evaluate('//button[@aria-label]', document, null, 7, null);
result.snapshotItem(0).insertAdjacentHTML("afterend", "<a href='javascript:void(0);'><img src='https://cdn-ak.f.st-hatena.com/images/fotolife/j/jigendaddy/20181118/20181118104702.png'></a>");
var result2 = document.evaluate('//button[@aria-label]/following-sibling::a', document, null, 7, null);
result2.snapshotItem(0).addEventListener('click', sample, false);
function sample() {
var sign = window.prompt("url_list", u_list);
}