Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I don't have a problem with unobtrusive adverts and why shouldn't websites try to make money from it's users? (someone's gotta pay for the servers!)

But what I really find annoying are the adverts popping up in YouTube video's which I find distracting as hell.

enter image description here

My question is this, how do I block those sorts of ad's without blocking non-obtrusive everyday adverts?

I'm on a Mac (Leopard) using Firefox.

share|improve this question
    
Since this is relevant to anyone using Firefox, I'm removing the osx tag –  Nate Koppenhaver Jun 14 '12 at 21:24

10 Answers 10

up vote 2 down vote accepted

Easy as Pie! Download the addon for fire fox called "Adblock plus"

After installed goto youtube and click on a video, while it is playing click on the ABP icon in the top right corner of your screen.

Click on anything that says "google" in it.

Click the bubble next to the one that eliminates anything from google "http://www.google.com/*"or something similar

Click add filter on the bottom right of your Adblock screen

POOF! No more ad pop ups!

:)

share|improve this answer

In ABP: Filter preferences- Add filter "||youtube.com/annotations_invideo?*"

share|improve this answer

You'll be able to block video ads before a video if you add also those record in your hosts file:

127.0.0.1 s0.2mdn.net

127.0.0.1 s1.2mdn.net

Complete and better explained procedure here: http://www.lolloland.com/2012/12/12/technote-how-to-remove-video-ads-youtube/

Cheers! ;)

share|improve this answer

In-video ads and annotations can be hidden by using YouTube Auto Buffer & Auto HD & Remove Ads for Greasemonkey.

Have a look at my screenshot, usage is self-explaining, just ensure the tickmarks for 'hide in-video ads' and 'annotations' are set. Other advertisements on the website are still left there.

share|improve this answer

Grab both the MVPS hosts file, and the hphosts file.

After you merge those hosts files together, disable the Windows DNS service (to avoid slowdown from having a 6.5 MB hosts file) and you'll be all good.

I no longer get a single ad on Youtube.

share|improve this answer

Adding:

127.0.0.1 m1.emea.2mdn.net.edgesuite.net
127.0.0.1 googleads.g.doubleclick.net

to /etc/hosts will disable the ads system-wide, but it might affect some other sites too.

Update: without adding pagead2.googlesyndication.com, I have found this to be unreliable. This addition does pose a threat to other sites.

share|improve this answer
    
have you tried this yourself? –  cust0s Aug 18 '09 at 20:41
    
Yes. On further investigation, it doesn't always work unless you add pagead2.googlesyndication.com, which will almost certainly affect other sites. –  Benjamin Dobson Aug 19 '09 at 23:53

Just install Adblock Plus? Though that would not allow for your why shouldn't websites try to make money from it's users...

EDIT: I now see I actually missed your real question, how do I block those sorts of ad's without blocking non-obtrusive everyday adverts? One could use Adblock to only block Google advertisements, but I guess many sites actually use Google ads, so that would still block too much for your liking. I'll leave my answer here for a while, to avoid others reading as bad as I did.

EDIT 2: One could enable Adblock on YouTube only (or maybe for s.ytimg.com, which seems to be the static non-cookie video server), but like joshhunt wrote, YouTube needs the money as well...

share|improve this answer
1  
Hmmm, I didn't dare to mark my wrong answer a community wiki, as I doubted if I could still delete it then. And now it has been accepted. Funny world. ;-) Let's wait some more time to see if other answers are posted... –  Arjan Aug 16 '09 at 16:06

As far as I can tell, you can't, as the ad system is embedded into the flash player Youtube is using.

I'm curious though about how any Firefox addin may block them, but it sounds like a false statement that they can/might. Adblock Plus has an option that lists all blockable items on a web page, and the ads embedded into the flash player isn't on that list.

When it comes to the "moral aspects" of blocking ads on a web page: It's up the user to decide what he or she is willing to see on his/her computer, and has nothing to do with the question asked here.

share|improve this answer
    
The advertisements are dynamic, so will need to contact the advertisement-server to get the ads that are personalized just for you. As such, blocking the ad-server (currently) surely disables showing any ads. Like I wrote in a comment above: I never knew YouTube was embedding ads until I did some testing today... Future versions of the player could refuse to play when the ad-server cannot be reached (but even then someone may just come up with a dummy server that does respond, but returns no advertisements). –  Arjan Aug 16 '09 at 14:01
    
@Arjan: OK, I saw your "edit 2" now, and I agree that blocking the ad-server itself seems to be a pretty reasonable solution. –  TFM Aug 16 '09 at 14:07
    
By the way: for youtube.com/watch?v=Thhyeop5gW8 disabling Adblock makes YouTube request additional data from ad.doubleclick.net, n4061ad.fr.doubleclick.net, pagead2.googlesyndication.com, googleads.g.doubleclick.net and m1.emea.2mdn.net. With Adblock enabled I don't see the tiny yellow ad-marker below the player controls either. –  Arjan Aug 16 '09 at 14:16

Unfortunately

No

, outside of clicking on the "X" to close the advertisement, you will always see these ads on YouTube Partner videos...

The ads are what keeps YouTube free and it is compensation to the YouTube Partner's efforts for creating popular videos to incentive for them to continue to make popular videos...

Source(s):http://youtube-answers.blogspot.com

share|improve this answer
    
Hmmm, I've never seen those advertisements when using Adblock (for Safari in my case). Any example videos? –  Arjan Aug 16 '09 at 13:03
    
what about this video, youtube.com/watch?v=Thhyeop5gW8, can you see the pop-up ad their? –  cust0s Aug 16 '09 at 13:06
1  
No, no adds for that movie. (I watched 4'30 minutes until disabling Adblock, which after reloading indeed gave me adds almost immediately. I have also blocked Flash from storing Local Shared Objects and other trails as per superuser.com/questions/1627/… but that doesn't have any effect on the YouTube advertisements.) –  Arjan Aug 16 '09 at 13:15
    
@nam3d: I can't. Using Firefox and AdBlock. –  Don Salva Sep 1 '09 at 9:14

However annoying they are, you cannot turn the ad overlays off. See my answer to a related question:

No.

Advertising is how these websites make their money and, by the sounds of it, Google needs every last ad that brings them money.

share|improve this answer
1  
As much as I agree that sites should be able to make money, I also feel that they've got themselves to blame for using overlays and for using advertising agencies that go all the way to abuse one's privacy. Google surely being one of them. I actually started using Adblock to block Google Analytics, and the blocking of advertisements was a nice side effect for me... –  Arjan Aug 16 '09 at 13:07
2  
I don't mind pre-roll ad's/ ad breaks but their is something about those pop-out ad's that really annoys. –  cust0s Aug 16 '09 at 13:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.