Author

Topic: [Script] Open all new Watchlist or new/unread replies/posts in a new browser tab (Read 292 times)

hero member
Activity: 924
Merit: 526
GIF by SOCIFI
Updated thread with Internet Explorer explanation + screenshot.
hero member
Activity: 924
Merit: 526
GIF by SOCIFI
Nice script, it works so well that the SFM shows "Too fast / overloaded (503)".

I just realized that i've bunch of watchlist since "Watch this topic" is enabled by default. Maybe you should give this warning, otherwise few members might open dozens/hundreds of new browser tab Roll Eyes

Was this in Firefox? I've seen that message sometimes in Firefox but never in Chrome. I only really use Chrome, but for Firefox you could try and play with the count + delay values in the bookmark script to see if the problem disappears.

Yes that's right. I always have used the Watchlist feature and if I don't want to follow a topic I always click on Unwatch after I have posted in that topic. If you maintain your Watchlist this script can be a good time saver.

The whole idea of the script is to open all the tabs at once without any manual effort. If people don't need this they should not use it. The maximum amount of threads displayed on a Watchlist page or one of the other lists is 40 threads. Most computers should be able to handle this with no effort at all, but usually someone who actively uses the Watchlist does not have 40 threads on there.

Thanks for the input though, for clarity I have added a disclaimer.
hero member
Activity: 784
Merit: 1416
I had missed this completely, first time i see this thread. In any case i have been trying it today and works very well, great contribution  Smiley
hero member
Activity: 924
Merit: 526
GIF by SOCIFI
Yes, it is useful, I tried it and succeeded. Smiley
Chrome: Settings > Advanced > Privacy and security > Content settings > Pop-ups and redirects
You do not need to do this; you can modify the properties by clicking on "Secure" word

Nice, I've added this to the OP, thanks!

Quote
It is better to put a warning that it is not used with "Show unread posts since last visit." [Causing my pc to stop] Smiley

I think if this causes someones PC to stop, they usually would not have this many tabs open anyway so it would be of no use for these people to use this function at that section. For me this runs perfectly fine.
legendary
Activity: 2506
Merit: 3645
Buy/Sell crypto at BestChange
Yes, it is useful, I tried it and succeeded. Smiley
Chrome: Settings > Advanced > Privacy and security > Content settings > Pop-ups and redirects
You do not need to do this; you can modify the properties by clicking on "Secure" word.
It is better to put a warning that it is not used with "Show unread posts since last visit." [Causing my pc to stop] Smiley
hero member
Activity: 924
Merit: 526
GIF by SOCIFI
I've been using this script for a while, I find it handy to be able to open all the new replies on my Watchlist at once without having to click them all one by one.

You can use this for all 3 new post options:

- Show unread posts since last visit.
- Show new replies to your posts.
- Watchlist

It works by making a new bookmark with the script as the location. Once you have one of the 3 new post options open, you just click the bookmark and it will open each thread with new replies in a new browser tab.

This works for me on either Chrome, Firefox or Internet Explorer (haven't tested it on other browsers).

Add the following code as a bookmark to Chrome/Firefox/Internet Explorer at the URL/location field (the Name does not matter):

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}});});


                                Chrome:                                                                    Firefox:                                                         Internet Explorer:                         



Make sure to have your pop-up blocker off or disabled for bitcointalk.org in the settings (or allow if your browser prompts for it):

Chrome: Settings > Advanced > Privacy and security > Content settings > Pop-ups and redirects (or you can modify the properties by clicking on the "Secure" word left of the address bar).
Firefox: Settings > Privacy & Security > Permissions > Block pop-up windows (Exceptions)
Internet Explorer: Internet Options > Privacy > Pop-up Blocker


Now all you need to do is click on the bookmark once you are on the page of one of the 3 new post options.

Hopefully someone finds this useful!

Keep in mind that if you have a large watchlist or you want to use one of the "show new posts/replies options" that this could mean that a lot of tabs will be opened (up to 40 tabs). For people who curate their Watchlist or people that have a semi decent computer, this should be no issue at all. You can always test it out of course!

Below I used 10 threads as an example, but ofcourse the more threads you want to open the more practical it is to use this script.

Script in action:

Jump to: