Youtube autoplay

Ask for help about NoScript, no registration needed to post
Odin99
Junior Member
Posts: 29
Joined: Fri Jun 26, 2015 1:22 am

Youtube autoplay

Post by Odin99 »

I don't want youtube videos to autoplay. Why doesn't NoScript block them from autoplaying? These videos are not ones I've bookmarked.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
barbaz
Senior Member
Posts: 11089
Joined: Sat Aug 03, 2013 5:45 pm

Re: Youtube autoplay

Post by barbaz »

Odin99 wrote:Why doesn't NoScript block them from autoplaying?
It's the same reason that Phillips screwdrivers don't tighten hex bolts.

NoScript is a security tool, not an annoyance removal tool. I'm not sure what your best option would be.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Youtube autoplay

Post by Thrawn »

barbaz wrote: It's the same reason that Phillips screwdrivers don't tighten hex bolts.
But they can...
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Odin99
Junior Member
Posts: 29
Joined: Fri Jun 26, 2015 1:22 am

Re: Youtube autoplay

Post by Odin99 »

Barbaz, please enlighten me. My understanding has been that Youtube videos need Flash to run, and since Flash is a script, NoScript would block it. What is my error?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
barbaz
Senior Member
Posts: 11089
Joined: Sat Aug 03, 2013 5:45 pm

Re: Youtube autoplay

Post by barbaz »

Youtube videos are HTML5 videos that are served in chunks and pieced together in the browser.

When you view a Youtube video, you need to Allow scripts from certain domains. Unfortunately for you, these domains aren't fixed and unique to each Youtube video. Some of them are constant, the same across all videos, and some of them revolve somewhat randomly. They may not even stay the same all the way through a specific video.

Sure, you can Forbid them, but you are then preventing the video being played at all, and if you allow it the next video you watch will autoplay. And if you try to solve for that by allowing full domains, you might be unable to watch any video - you'll just get another full domain to Allow, but when you do the obligatory reload, you'll just be presented with a totally new, different full domain to Allow. And so on.

Not a solution.
*Always* check the changelogs BEFORE updating that important software!
-
Odin99
Junior Member
Posts: 29
Joined: Fri Jun 26, 2015 1:22 am

Re: Youtube autoplay

Post by Odin99 »

Thanks, Barbaz. The explanation is a bit beyond my capability to understand, but I appreciate your attempt.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
ActionMan
Posts: 1
Joined: Wed Jul 19, 2017 11:53 am

Re: Youtube autoplay

Post by ActionMan »

I know there is a option to press few keys on keyboard. You don't need a script to stop youtube autoplay.
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 OPR/46.0.2597.46
barbaz
Senior Member
Posts: 11089
Joined: Sat Aug 03, 2013 5:45 pm

Re: Youtube autoplay

Post by barbaz »

ActionMan wrote:I know there is a option to press few keys on keyboard.
This your idea of a fun guessing game?

No one is going to find your input constructive unless you name the 'few keys on keyboard' and explain how to enable the 'option to press' those keys.
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply