Script for youtube that disables autoplay and annotations?


Recommended Posts

I find myself watching allot via YouTube but the thing that annoys me the most is the stupid annotations and the insistence of auto playing the next video that might be related to what you're currently watching.  Is there a script or something for FF that I can add to stop this? I already have html5 video not playing automatically, but inside of YouTube this doesn't mater after the first video. I know that it can be turned of per session but I'm looking for a permanent fix, if such a thing exits. Thanks!

 

  On 01/05/2016 at 22:52, jnelsoninjax said:

I find myself watching allot via YouTube but the thing that annoys me the most is the stupid annotations and the insistence of auto playing the next video that might be related to what you're currently watching.  Is there a script or something for FF that I can add to stop this? I already have html5 video not playing automatically, but inside of YouTube this doesn't mater after the first video. I know that it can be turned of per session but I'm looking for a permanent fix, if such a thing exits. Thanks!

 

Expand  

You can disable autoplay in the right corner. 

Autoplay disable.PNG

 

Edit:

Rereading your post... I don't know if you have already turned off or not, but I've never seen another video after I had this thing off. It works wonders.

  On 01/05/2016 at 22:57, Jose_49 said:

Click on your picture (top-right corner), and click the gear button. This will bring you to YouTube Account Settings. 

 

Hit Playback, and uncheck "Show annotations and in-video notifications"

anno.PNG

Expand  

Maybe he doesn't have a YouTube account? :)

  On 01/05/2016 at 23:00, TDT said:

Maybe he doesn't have a YouTube account? :)

Expand  

Hehehe :p

 

Then, OP, try this:

https://addons.mozilla.org/en-US/firefox/addon/youtubes-annotations-no-more/

 

Or if you want something more extreme, this:

https://addons.mozilla.org/en-US/firefox/addon/cleantube/

  • zhangm changed the title to Script for youtube that disables autoplay and annotations?
  On 01/05/2016 at 22:57, Jose_49 said:

Click on your picture (top-right corner), and click the gear button. This will bring you to YouTube Account Settings. 

 

Hit Playback, and uncheck "Show annotations and in-video notifications"

anno.PNG

Expand  

I never knew about this, thanks!

 

  On 01/05/2016 at 23:02, Jose_49 said:
Expand  

This will work, thanks!

  On 01/05/2016 at 23:05, The Evil Overlord said:

I just tried this in ff, no addons

 

I'm not sure if it helps, but this was not signed in neither

 

Image1.jpg

Expand  

I know about this option, however I am looking for a permanent solution, not just a per video.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Wow, and here I'm still happily using 1080p...
    • Added an extra filter to Fail2Ban.  I thought about just adding this to my existing aibots filter, but for the time being I'm keeping it separate because it's "possible" real humans may trigger this one so as long as it doesn't start filling my inbox I'd like to get notified about these so I can adjust it as necessary in the future. I'm still holding close to 10k unique IP addresses at any given time that have been banned via the "aibots" filter that looks for certain user agent strings of known AI scrapers.  However, I've been getting an increasing amount of traffic trying to scrape the site with sanitized user agent strings that just look like normal web browsers, however... Because I enabled authentication I can now see that they're racking up lots of 401 (unauthorized) responses in the Apache "access.log" file, but they're not triggering anything in the Apache "error.log" file, which is where failed attempts to log in would appear.  Basically, if an actual human tried to log in with an invalid username and password they don't immediately go into "access.log" as a 401, they go into "error.log" with a status message such as "user FOO not found".  The only way to trigger a 401 simply by visiting the site, as far as I'm aware, is to hit "Cancel" on the login prompt, or otherwise try to access files directly without properly authenticating. So, given the fact I'm getting a few thousand 401 errors a day from sanitized user agent strings that don't show up in "error.log", which means no attempt at logging in properly, I added another jail/filter set to Fail2Ban to immediately ban anybody who triggers a 401.  This feels a bit nuclear so I may need to adjust it in the future, but as far as I'm aware so far no real humans are being inconvenienced so all I'm doing is wasting the time of some AI scraper bots. Example log entry 61.170.149.70 - - [25/Jun/2025:20:01:04 -0400] "GET /content/mdwiki_en_all_maxi_2024-06/A/Neuroregeneration HTTP/1.1" 401 3287 "https://kiwix.marcusadams.me/content/mdwiki_en_all_maxi_2024-06/A/Neuroregeneration" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43" Contents of /etc/fail2ban/filter.d/apache-401repeat.conf #Fail2Ban filter for bots and scrapers that try to access #files directly without entering credentials for apache2-auth #and therefore trigger lots of 401 errors without triggering #the apache-auth jail. # #Marcus Dean Adams [Definition] failregex = ^<HOST> .+\" 401 \d+ .*$ Contents of /etc/fail2ban/jail.d/apache-401repeat.local [apache-401repeat] enabled = true ignoreip = 10.1.1.1 port = 80,443 filter = apache-401repeat maxretry = 1 bantime = 672h findtime = 10m logpath = /var/log/apache2/access.log Oh, and all this traffic is AFTER I explicitly banned Alibaba's IP ranges that were absolutely blowing me up day and night. Observation; two of the IP addresses that have triggered this jail in the 30 or so minutes since I turned it on were owned by Microsoft.  Wonder if they're doing their own AI scraping/probing, or if that's just an Azure VM owned by somebody else.
    • We don't have hardly any 4k HDR content now... ESPN and other sports channels need to get with the program.
    • We hardly have any 4K HDR content now..why in the world is 16K important??? Someone tell ESPN that it's 2025!!!!
    • Imagine paying for Office 365 and getting a crappy web wrapper instead of a native application.
  • Recent Achievements

    • Rising Star
      Phillip0web went up a rank
      Rising Star
    • One Month Later
      Epaminombas earned a badge
      One Month Later
    • One Year In
      Bert Fershner earned a badge
      One Year In
    • Reacting Well
      ChrisOdinUK earned a badge
      Reacting Well
    • One Year In
      Steviant earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      552
    2. 2
      ATLien_0
      208
    3. 3
      +FloatingFatMan
      175
    4. 4
      Michael Scrip
      152
    5. 5
      Som
      139
  • Tell a friend

    Love Neowin? Tell a friend!