t_wの輪郭

Feedlyでフォローするボタン
(function () { var title = window.prompt("Scrap to delite", document.title); if (!title) return; var lines = []; let div = document.createElement("div"); let sel = window.getSelection(); for (var i = 0, len = sel.rangeCount; i < len; ++i) { div.appendChild(sel.getRangeAt(i).cloneContents()); } let node2scrap = (node) => { return node.innerHTML; }; var quote = div.innerText; if (quote.trim()) { lines = quote.replace(/\r\n/g, "\n").split(/\n/g).concat(lines); } var body = encodeURIComponent(lines.join("\n")); window.open("https://dlt.kitetu.com/" + "?kw=" + body); })();