Large

NewzBin Poster Image Script

By Freyr Last update Jan 27, 2012 — Installed 6,885 times.

I modified the script to save me time... thought I'd share

in
Subscribe to I modified the script to save me time... thought I'd share 2 posts, 2 voices



LostSoul User
FirefoxMacintosh

First off thanks Felix for an amazing script. I made a small mod to it that helps save me a ton of time and I'd thought I'd post it for you. I added a "Find All" link at the bottom of each group that will do a simple title search on Newzbin in a new window. It helps when you're looking at new content, but the size or format is not what you want, simply click the link and all title matches are shown in a new tab or window.

Here's the simple code I added... I hope it shows up properly. The line numbers take into account the extra code I added. Not sure if it's the best way to do it, but it works and I use it every time I find something new. Thanks again.

Line 893:
var findAllTag = null;

Line 911:
this.findAllTag = this.td2.childNodes[9];

Line 1009:
this.findAllTag = document.createElement("a");
this.findAllTag.target = "_blank";
this.td2.appendChild(this.findAllTag);

Line 1030:
this.findAllTag.innerHTML = "Find All";
this.findAllTag.href = "http://www.newzbin.com/search/query/?q=" + data.title.split(' ').join('+') + "&area=-1&fpn=p&searchaction=Go&areadone=-1";

 
Freyr Script's Author
FirefoxWindows

Thanks for the code. In the current release, I did the same thing, but in the popup. Let me know your opinion.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel