Bitcoin Forum

Other => Meta => Topic started by: miaviator on May 16, 2014, 11:15:56 PM



Title: Bookmarklet to open ALL new replies or watchlist topics
Post by: miaviator on May 16, 2014, 11:15:56 PM
Add a new bookmark to chrome, I haven't tested with firefox.

You just make a new bookmark and put in the code below.  When you are on the new replies page or the watchlist it will open a page to the last post of every topic on the list.

Name = whatever

URL =

Code:
javascript:(function(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="https://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1);f(c).remove()}};a.documentElement.childNodes[0].appendChild(c)}})(window,document,"1.3.2",function($,L){var delay=500;var count=1000;$("a").each(function(){var a=$(this).attr("href");var b=a.search("topicseen#msg");if(b>10){setTimeout(function(){window.open(a,"_blank")},count);count=count+delay}});});

There are some delays programmed in to prevent breakage.

Improvements welcome.   

I googled for: bitcointalk visit all links in tabs, bitcointalk visit all unread replies in tabs, bitcointalk tab out all watchlist topics

With no luck.  Maybe someone else is just as insane and wants this functionality :D


Title: Re: Bookmarklet to open ALL new replies or watchlist topics
Post by: goozman96 on May 17, 2014, 07:03:20 PM
Thanks for sharing, but I think you're the only insane one to want such a thing. :P


Title: Re: Bookmarklet to open ALL new replies or watchlist topics
Post by: miaviator on May 18, 2014, 05:03:18 PM
Thanks for sharing, but I think you're the only insane one to want such a thing. :P

I agree with you.   

You never know though.

It's REALLY convenient for me.  I used to shift click on every tiny little last post icon in order to open them in tabs and catch up.   Now I just click the button.


Title: Re: Bookmarklet to open ALL new replies or watchlist topics
Post by: railzand on May 18, 2014, 06:39:57 PM
It would be dead useful to me too. For firefox. Oh, but not javascript. Nvm...


Title: Re: Bookmarklet to open ALL new replies or watchlist topics
Post by: miaviator on May 19, 2014, 04:41:15 PM
It would be dead useful to me too. For firefox. Oh, but not javascript. Nvm...

It's a javascript bookmarklet that injects jquery then runs the script.

It should work fine on firefox.


Title: Re: Bookmarklet to open ALL new replies or watchlist topics
Post by: railzand on May 21, 2014, 08:52:47 AM
I meant I don't like javascript. I'll get my coat.