patric99 / remote-torrent-adder

Automatically exported from code.google.com/p/remote-torrent-adder
0 stars 1 forks source link

Multiple links on page #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice if this could scan a page, find the links (say a pile of 
magnet links) and auto add them.  Can't see to find a multilink selector that 
will trigger this, so you have to click on each link.

Original issue reported on code.google.com by sethc...@gmail.com on 1 Mar 2013 at 11:06

GoogleCodeExporter commented 9 years ago
that doesn't sound like a common use case for someone who uses my extension.

instead, you could just write a simple bookmarklet. something like
javascript:var x=document.querySelectorAll("a");for(i in 
x){if(x[i].href.match(new RegExp(/.*torrent$/))){x[i].click();}};

Original comment by jul...@gmail.com on 8 Mar 2013 at 8:08