Page 1 of 1

Youtube Ads

Posted: Wed Aug 24, 2016 9:25 pm
by Dingdong
Hello!

I have used NoScript for years. I usually use it to block certain scripts on youtube which makes youtube ads not play. But today they started showing up again.

I have the following unblocked on youtube (in order for the videos to work):

youtube.com

ytimg.com

googlevideo.com

I tried blocking them one after one and they are all needed for the videos to work. What am I missing?

What do I have to block in order for the videos to work but not the ads?

Re: Youtube Ads

Posted: Wed Aug 24, 2016 9:42 pm
by barbaz
Dingdong wrote:What do I have to block in order for the videos to work but not the ads?
There's no way for me to answer this without sounding like a smart-ass, so I'm just going to say it. What you have to block are, er, the ads.

You've correctly figured out the minimal NoScript permissions for Youtube, but NoScript is not an adblocker, you'll need to install an adblocking add-on in order to achieve what you want. Some discussion here: viewtopic.php?f=8&t=22001

Re: Youtube Ads

Posted: Wed Aug 24, 2016 11:29 pm
by Dingdong
barbaz wrote:
Dingdong wrote:What do I have to block in order for the videos to work but not the ads?
There's no way for me to answer this without sounding like a smart-ass, so I'm just going to say it. What you have to block are, er, the ads.

You've correctly figured out the minimal NoScript permissions for Youtube, but NoScript is not an adblocker, you'll need to install an adblocking add-on in order to achieve what you want. Some discussion here: viewtopic.php?f=8&t=22001

Did you read the part where I said NoScript has succesfully blocked the youtube ads for me, for years?

Re: Youtube Ads

Posted: Thu Aug 25, 2016 12:07 am
by barbaz
NoScript is a security tool, any ad-blocking it would happen to do is purely a side-effect of its security measures. This is always how it's been and it hasn't changed. OTOH, Youtube might have changed: viewtopic.php?f=7&t=22100

Re: Youtube Ads

Posted: Thu Sep 22, 2016 3:35 pm
by OneEyedLeftist
It's not going to work now. Google has changed it so their ad server and videos are stored on the same domain. If you block the ads, you block the videos too.

This only seems to apply to the ads that appear before the video, though, not any of the ad breaks put in during the videos (yet).

Re: Youtube Ads

Posted: Tue Oct 04, 2016 11:08 pm
by Thrawn
OneEyedLeftist wrote:If you block the ads, you block the videos too.
A dedicated adblocking extension, which NoScript is not, will be able to block the specific URLs where ads are located.

NoScript only cares about whether you trust Google not to attack your PC. It doesn't care about ads. There are plenty of adblocking extensions you can use.