kat revised this gist . Go to revision
1 file changed, 1 insertion
copymagnet.js(file created)
@@ -0,0 +1 @@ | |||
1 | + | javascript:!function(a){var b=document.createElement("textarea"),c=document.getSelection();b.textContent=a,document.body.appendChild(b),c.removeAllRanges(),b.select(),document.execCommand("copy"),c.removeAllRanges(),document.body.removeChild(b)}(Array.from(document.querySelectorAll('a[href*="magnet:?"]')).join("\n\n")); |
Newer
Older