Bitcoin Forum
May 10, 2024, 01:21:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Script] Open all new Watchlist or new/unread replies/posts in a new browser tab  (Read 292 times)
muleroaa (OP)
Hero Member
*****
Offline Offline

Activity: 924
Merit: 526


GIF by SOCIFI


View Profile
August 28, 2018, 06:40:52 PM
Last edit: November 16, 2018, 09:11:01 PM by muleroaa
Merited by theymos (10), suchmoon (4), Piggy (1)
 #1

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:


                ▄▄▄▄▄▄▄▄▄▄                          ▄▄▄▄▄▄▄▄▄▄
             █████████████████                   █████████████████
         █████████████████████████           █████████████████████████
       █████████████████████████████       █████████████████████████████
     █████████████████████████████████   █████████████████████████████████
   ████████████▀           ▀██████████████████████████████████████████████
  ████████████▄▄███████████▄▄█████████▓▓▓███████████████████████████████████
 ▐██████████████▀         ▀██████████▓▓▓▓████████████████████████████████████
 ██████████████▄▄█████████▄▄█████████▓▓▓▓▓████████████████████████████████████
▐█████████████████▀      ▀██████████▓▓▓▓▓▓████████████████████████████████████▌
▐████████████████▄▄██████▄▄█████████▓▓▓▓▓▓▓███████████████████████████████████▌
▐██████████████████      ███████████▓▓▓▓▓▓▓███████████████████████████████████▌
▐██████████████████ ████ ████████████▓▓▓▓▓████████████████████████████████████
 ██████████████████ ████ ████████████▓▓▓▓▓███████████████    ████████████████
  █████████████████ ████ █████████████▓▓▓████████████████   █████████████   █
   ████████████████      ███████████████████████████████    ███████████
    ██████████████████████████████████ ██████████████████     ████████
      ███████████████████████████████     █████████████████
        ███████████████████████████         █████████████████▓
           ████████████████████                ███████████████████▓
               ▀▀▀▀▀▀▀▀▀▀▀▀▀                       ▀▀▀▀▀▀▀▀▀▀▀▀▀

▄▄▄████████▄▄▄
▄▄██████████████████▄▄
▄████████████████████████▄
▄████████████████████████████▄
████████████████████████████████
▓████████████████████████████████▓
███████████████████████▒░███████████
▄█████████████████▒░      ███████████▄
█████████████░░          ░████████████
█████████░              ░█████████████
██████████▓░░          ░██████████████
██████████████▓░       ███████████████
▀███████████████▒     ░██████████████▀
████████████████▒   ░███████████████
████████████████░ ░███████████████
████████████████████████████████
▀████████████████████████████▀
▀████████████████████████▀
▀▀██████████████████▀▀
 ▀▀▀████████▀▀▀
.
JOIN OUR
TELEGRAM
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715304075
Hero Member
*
Offline Offline

Posts: 1715304075

View Profile Personal Message (Offline)

Ignore
1715304075
Reply with quote  #2

1715304075
Report to moderator
1715304075
Hero Member
*
Offline Offline

Posts: 1715304075

View Profile Personal Message (Offline)

Ignore
1715304075
Reply with quote  #2

1715304075
Report to moderator
1715304075
Hero Member
*
Offline Offline

Posts: 1715304075

View Profile Personal Message (Offline)

Ignore
1715304075
Reply with quote  #2

1715304075
Report to moderator
hugeblack
Legendary
*
Online Online

Activity: 2506
Merit: 3649


Buy/Sell crypto at BestChange


View Profile WWW
August 28, 2018, 09:58:01 PM
Merited by muleroaa (1)
 #2

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

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
muleroaa (OP)
Hero Member
*****
Offline Offline

Activity: 924
Merit: 526


GIF by SOCIFI


View Profile
September 09, 2018, 04:55:56 PM
 #3

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.

                ▄▄▄▄▄▄▄▄▄▄                          ▄▄▄▄▄▄▄▄▄▄
             █████████████████                   █████████████████
         █████████████████████████           █████████████████████████
       █████████████████████████████       █████████████████████████████
     █████████████████████████████████   █████████████████████████████████
   ████████████▀           ▀██████████████████████████████████████████████
  ████████████▄▄███████████▄▄█████████▓▓▓███████████████████████████████████
 ▐██████████████▀         ▀██████████▓▓▓▓████████████████████████████████████
 ██████████████▄▄█████████▄▄█████████▓▓▓▓▓████████████████████████████████████
▐█████████████████▀      ▀██████████▓▓▓▓▓▓████████████████████████████████████▌
▐████████████████▄▄██████▄▄█████████▓▓▓▓▓▓▓███████████████████████████████████▌
▐██████████████████      ███████████▓▓▓▓▓▓▓███████████████████████████████████▌
▐██████████████████ ████ ████████████▓▓▓▓▓████████████████████████████████████
 ██████████████████ ████ ████████████▓▓▓▓▓███████████████    ████████████████
  █████████████████ ████ █████████████▓▓▓████████████████   █████████████   █
   ████████████████      ███████████████████████████████    ███████████
    ██████████████████████████████████ ██████████████████     ████████
      ███████████████████████████████     █████████████████
        ███████████████████████████         █████████████████▓
           ████████████████████                ███████████████████▓
               ▀▀▀▀▀▀▀▀▀▀▀▀▀                       ▀▀▀▀▀▀▀▀▀▀▀▀▀

▄▄▄████████▄▄▄
▄▄██████████████████▄▄
▄████████████████████████▄
▄████████████████████████████▄
████████████████████████████████
▓████████████████████████████████▓
███████████████████████▒░███████████
▄█████████████████▒░      ███████████▄
█████████████░░          ░████████████
█████████░              ░█████████████
██████████▓░░          ░██████████████
██████████████▓░       ███████████████
▀███████████████▒     ░██████████████▀
████████████████▒   ░███████████████
████████████████░ ░███████████████
████████████████████████████████
▀████████████████████████████▀
▀████████████████████████▀
▀▀██████████████████▀▀
 ▀▀▀████████▀▀▀
.
JOIN OUR
TELEGRAM
Piggy
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
September 09, 2018, 05:04:47 PM
 #4

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
muleroaa (OP)
Hero Member
*****
Offline Offline

Activity: 924
Merit: 526


GIF by SOCIFI


View Profile
September 24, 2018, 09:48:35 PM
 #5

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.

                ▄▄▄▄▄▄▄▄▄▄                          ▄▄▄▄▄▄▄▄▄▄
             █████████████████                   █████████████████
         █████████████████████████           █████████████████████████
       █████████████████████████████       █████████████████████████████
     █████████████████████████████████   █████████████████████████████████
   ████████████▀           ▀██████████████████████████████████████████████
  ████████████▄▄███████████▄▄█████████▓▓▓███████████████████████████████████
 ▐██████████████▀         ▀██████████▓▓▓▓████████████████████████████████████
 ██████████████▄▄█████████▄▄█████████▓▓▓▓▓████████████████████████████████████
▐█████████████████▀      ▀██████████▓▓▓▓▓▓████████████████████████████████████▌
▐████████████████▄▄██████▄▄█████████▓▓▓▓▓▓▓███████████████████████████████████▌
▐██████████████████      ███████████▓▓▓▓▓▓▓███████████████████████████████████▌
▐██████████████████ ████ ████████████▓▓▓▓▓████████████████████████████████████
 ██████████████████ ████ ████████████▓▓▓▓▓███████████████    ████████████████
  █████████████████ ████ █████████████▓▓▓████████████████   █████████████   █
   ████████████████      ███████████████████████████████    ███████████
    ██████████████████████████████████ ██████████████████     ████████
      ███████████████████████████████     █████████████████
        ███████████████████████████         █████████████████▓
           ████████████████████                ███████████████████▓
               ▀▀▀▀▀▀▀▀▀▀▀▀▀                       ▀▀▀▀▀▀▀▀▀▀▀▀▀

▄▄▄████████▄▄▄
▄▄██████████████████▄▄
▄████████████████████████▄
▄████████████████████████████▄
████████████████████████████████
▓████████████████████████████████▓
███████████████████████▒░███████████
▄█████████████████▒░      ███████████▄
█████████████░░          ░████████████
█████████░              ░█████████████
██████████▓░░          ░██████████████
██████████████▓░       ███████████████
▀███████████████▒     ░██████████████▀
████████████████▒   ░███████████████
████████████████░ ░███████████████
████████████████████████████████
▀████████████████████████████▀
▀████████████████████████▀
▀▀██████████████████▀▀
 ▀▀▀████████▀▀▀
.
JOIN OUR
TELEGRAM
muleroaa (OP)
Hero Member
*****
Offline Offline

Activity: 924
Merit: 526


GIF by SOCIFI


View Profile
November 16, 2018, 09:12:42 PM
 #6

Updated thread with Internet Explorer explanation + screenshot.

                ▄▄▄▄▄▄▄▄▄▄                          ▄▄▄▄▄▄▄▄▄▄
             █████████████████                   █████████████████
         █████████████████████████           █████████████████████████
       █████████████████████████████       █████████████████████████████
     █████████████████████████████████   █████████████████████████████████
   ████████████▀           ▀██████████████████████████████████████████████
  ████████████▄▄███████████▄▄█████████▓▓▓███████████████████████████████████
 ▐██████████████▀         ▀██████████▓▓▓▓████████████████████████████████████
 ██████████████▄▄█████████▄▄█████████▓▓▓▓▓████████████████████████████████████
▐█████████████████▀      ▀██████████▓▓▓▓▓▓████████████████████████████████████▌
▐████████████████▄▄██████▄▄█████████▓▓▓▓▓▓▓███████████████████████████████████▌
▐██████████████████      ███████████▓▓▓▓▓▓▓███████████████████████████████████▌
▐██████████████████ ████ ████████████▓▓▓▓▓████████████████████████████████████
 ██████████████████ ████ ████████████▓▓▓▓▓███████████████    ████████████████
  █████████████████ ████ █████████████▓▓▓████████████████   █████████████   █
   ████████████████      ███████████████████████████████    ███████████
    ██████████████████████████████████ ██████████████████     ████████
      ███████████████████████████████     █████████████████
        ███████████████████████████         █████████████████▓
           ████████████████████                ███████████████████▓
               ▀▀▀▀▀▀▀▀▀▀▀▀▀                       ▀▀▀▀▀▀▀▀▀▀▀▀▀

▄▄▄████████▄▄▄
▄▄██████████████████▄▄
▄████████████████████████▄
▄████████████████████████████▄
████████████████████████████████
▓████████████████████████████████▓
███████████████████████▒░███████████
▄█████████████████▒░      ███████████▄
█████████████░░          ░████████████
█████████░              ░█████████████
██████████▓░░          ░██████████████
██████████████▓░       ███████████████
▀███████████████▒     ░██████████████▀
████████████████▒   ░███████████████
████████████████░ ░███████████████
████████████████████████████████
▀████████████████████████████▀
▀████████████████████████▀
▀▀██████████████████▀▀
 ▀▀▀████████▀▀▀
.
JOIN OUR
TELEGRAM
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!