• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:30
CEST 17:30
KST 00:30
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Serral wins EWC 202537Tournament Spotlight: FEL Cracow 202510Power Rank - Esports World Cup 202580RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15
Community News
LiuLi Cup - August 2025 Tournaments3[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder9EWC 2025 - Replay Pack4Google Play ASL (Season 20) Announced53BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams10
StarCraft 2
General
The GOAT ranking of GOAT rankings Interview with Chris "ChanmanV" Chan Serral wins EWC 2025 Tournament Spotlight: FEL Cracow 2025 Classic: "It's a thick wall to break through to become world champ"
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament LiuLi Cup - August 2025 Tournaments Sea Duckling Open (Global, Bronze-Diamond) TaeJa vs Creator Bo7 SC Evo Showmatch FEL Cracov 2025 (July 27) - $10,000 live event
Strategy
Custom Maps
External Content
Mutation # 484 Magnetic Pull Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune
Brood War
General
BW General Discussion Which top zerg/toss will fail in qualifiers? Google Play ASL (Season 20) Announced Nobody gona talk about this year crazy qualifiers? Scmdraft 2 - 0.9.0 Preview
Tourneys
[ASL20] Online Qualifiers Day 2 [ASL20] Online Qualifiers Day 1 [Megathread] Daily Proleagues Small VOD Thread 2.0
Strategy
[G] Mineral Boosting Muta micro map competition Does 1 second matter in StarCraft? Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Beyond All Reason Total Annihilation Server - TAForever [MMORPG] Tree of Savior (Successor of Ragnarok)
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
9/11 Anniversary Possible Al Qaeda Attack on 9/11 US Politics Mega-thread Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread Movie Discussion! Korean Music Discussion
Sports
Formula 1 Discussion 2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
ASL S20 English Commentary…
namkraft
The Link Between Fitness and…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Socialism Anyone?
GreenHorizons
Customize Sidebar...

Website Feedback

Closed Threads



Active: 702 users

[G] How to Block Livestream Ads

Forum Index > Tech Support
Post a Reply
1 2 3 4 Next All
Mystlord *
Profile Blog Joined July 2008
United States10264 Posts
Last Edited: 2009-12-12 01:39:21
September 09 2009 23:13 GMT
#1
So in IRC today, zulunation asked how to block livestream ads. Well, there are several ways to do it, of which I'll outline two.

Cut down version for those that only want the method and could care less about the technical. It's at the end of the post in spoilers.

Method 1 - Firefox and Adblock


Yes, Firefox has it's own ad killing extension in it's already large add on database. It's called Adblock, and it's awesome. Find it on the Mozilla Add-Ons page (If you use Firefox, you should know the link ). You can block basically any image, server, whatever. This means that you can even block the big TL banner at the top or the random "Project Wonderful" ads that pop up around Teamliquid, but since it's TL, and I think I'll get banned and this post locked if I give specific instructions on how to do it, I'll choose another ad server... So let's do Google Ads!

How would you do this you ask? You just right click on the image in question, and select, Adblock: Block Image. You'll see a selection box come up, and you'll want to select (if you want to block everything related to the specific webserver), the "Look for Pattern" http://www.(Name of Webserver here).com/*. And there you go. Any image can now be blocked. For specific images, you should choose a more specific filter.

Now how does this apply for livestream you may ask? Well, although livestream ads are not images by themselves, livestream instead ports the ad server's stuff to your computer. With Adblock, you can choose to block the ad server themselves, thus save yourself the waiting time. First subscribe to a blocking list (EasyList is good enough for me), and check a livestream page to see if your ads are gone. If they are, great, but sometimes Adblock doesn't catch them all, so here's how you catch those others.

1. Go to any livestream page with a player (kentor's, mine, ret's, nongmin's, whatever).

2.Now in the status bar at the top, you should see this red stop sign with the letters AB or ABP on it. Click that button while on the livestream page, and you'll see a list of blockable items pop up.

3. Find the ad server that you want to block, and add it to your filter list. Search specifically for scripts/object subrequest under the "type" column, and block it if it isn't part of livestream's player script. Search for obviously suspicious URLs first, then move to more tame URLs if those don't work. You'll find it eventually through trial and error.

Then, every single time you move to a page that requests ads from those two servers, the ads shouldn't appear anymore. You might find that when you tune in, the video cuts out for a few seconds, but don't panic because that's just the livestream server trying to show ads and failing (I think).

That's how Adblock works. Now for those that don't want to use Firefox or are unable to use it (for whatever reason lol), there's another method.

Method 2 - Editing the Hosts File


This method is very similar to how Adblock works, but it works differently. If you want a cut down version, the hosts file is basically like an I.P Address Book. When your computer tries to contact a previously unknown server, it first searches the hosts file for a IP address to send/receive the information to. Obviously this can be tweaked for great results.

So first off, here's how to find your hosts file:
Windows 2000: C:\WinNT\system32\drivers\etc\
Windows XP and Vista: C:\Windows\System32\drivers\etc
FreeBSD / Linux / Mac OS X / Unixish operating systems: /etc/hosts

Ok, so now for the magic. 127.0.0.1 is a special IP address that ALWAYS points to your computer. So after you edit your Hosts file, what your computer will end up doing is it tries to send/receive information from your own computer. Since it can't find anything, it'll end up showing a blank where the image should be. In any case, a step by step walk through to blocking ads through the Hosts file...

1. Open your Hosts file using Notepad. You'll see a bunch of lines starting with #. That basically means that the line is a comment and doesn't do anything other than enlighten you. Ignore those.

2. Scroll down past the commented lines and input:

127.0.0.1 adserver.adtechus.com
127.0.0.1 pagead2.googlesyndication.com

Mod edit: Fixed bad instructions

3. Save the file and close it.

That should be it. Enjoy your ad free livestream viewing!

+ Show Spoiler [Cut down Version] +

Method 1 - Firefox/Adblock
1. Download Mozilla Firefox and Adblock and subscribe to EasyList.

2. Go a livestream page and check to see if the ads are gone. If yes, great. If no, follow the next steps.

3. Go to any livestream page with a player (kentor's, mine, ret's, nongmin's, whatever).

4.Now in the status bar at the top, you should see this red stop sign with the letters AB or ABP on it. Click that button while on the livestream page, and you'll see a list of blockable items pop up.

5. Find the ad server that you want to block, and add it to your filter list. For google ads and adserver ads (the two most common that I see, if they're not the only ones), you want to search up these two domains:
http://adserver.adtechus.com/*
http://pagead2.googlesyndication.com/*

Method 2 - Hosts File Editing
1. Find your hosts file:
Windows 2000: C:\WinNT\system32\drivers\etc\
Windows XP and Vista: C:\Windows\System32\drivers\etc
FreeBSD / Linux / Mac OS X / Unixish operating systems: /etc/hosts

2. Open your Hosts file using Notepad. You'll see a bunch of lines starting with #. That basically means that the line is a comment and doesn't do anything other than enlighten you. Ignore those.

3. Scroll down past the commented lines and input:

127.0.0.1 adserver.adtechus.com
127.0.0.1 pagead2.googlesyndication.com

Mod edit: Fixed bad instructions

4. Save the file and close it.
It is impossible to be a citizen if you don't make an effort to understand the most basic activities of your government. It is very difficult to thrive in an increasingly competitive world if you're a nation of doods.
zulu_nation8
Profile Blog Joined May 2005
China26351 Posts
September 09 2009 23:22 GMT
#2
thanks
pheer
Profile Blog Joined July 2004
5390 Posts
September 09 2009 23:35 GMT
#3
Wow that's a lot of words! Here is a slimmed-down version for XP and Vista people:

1. Go to start > RUN

2. Type notepad c:\windows\system32\drivers\etc\hosts

3. Add the lines:
127.0.0.1 adserver.adtechus.com
127.0.0.1 pagead2.googlesyndication.com
Moderator
aers *
Profile Joined January 2009
United States1210 Posts
September 09 2009 23:38 GMT
#4
Should be the same on Win7, just put the notepad line into the search bar if you don't have Start>Run enabled
synapse
Profile Blog Joined January 2009
China13814 Posts
September 09 2009 23:39 GMT
#5
I have Adblock Plus. So good.
:)
MeriaDoKk
Profile Blog Joined July 2007
Chile1726 Posts
September 09 2009 23:40 GMT
#6
thanks, this helped a lot!
decafchicken
Profile Blog Joined January 2005
United States20019 Posts
September 09 2009 23:44 GMT
#7
On September 10 2009 08:35 pheer wrote:
Wow that's a lot of words! Here is a slimmed-down version for XP and Vista people:

1. Go to start > RUN

2. Type notepad c:\windows\system32\drivers\etc\hosts

3. Add the lines:
127.0.0.1 adserver.adtechus.com
127.0.0.1 pagead2.googlesyndication.com


<3
Thanks much.
how reasonable is it to eat off wood instead of your tummy?
Roffles *
Profile Blog Joined April 2007
Pitcairn19291 Posts
September 09 2009 23:47 GMT
#8
Not gonna lie, but this is ridiculously awesome. No more waiting 30 seconds for stupid annoying ads that can't be muted.
God Bless
Grobyc
Profile Blog Joined June 2008
Canada18410 Posts
September 09 2009 23:54 GMT
#9
Awesome Myst, I hate damn livestream ads >_<, especially during an SC game; you can't see the mini-map sometimes.
If you watch Godzilla backwards it's about a benevolent lizard who helps rebuild a city and then moonwalks into the ocean.
leMaj24
Profile Blog Joined January 2009
United States262 Posts
September 09 2009 23:56 GMT
#10
Thanks man, ABP is really awesome.
Pakje
Profile Joined March 2009
Belgium288 Posts
September 09 2009 23:59 GMT
#11
do you need to restart?
Alethios
Profile Blog Joined December 2007
New Zealand2765 Posts
September 10 2009 00:08 GMT
#12
Thing is though, ABP completely stops the downloads from the ad site. This may seem excellent on first glance, but free services like livestream often rely on these ads in order for them to be profitable. Without the download from the ad site though, a hit isn't recorded by the advertiser. If enough people do this (like the entire teamliquid audience for example), advertisers will see a large drop off in hits, leading to them stopping advertising and perhaps, ultimately, the removal of the service.

Thats the doomsday senario. Best case senario is that the livestream providers see some drop in revenue due to the advertisers not willing to pay as much, though this too could have some follow on effects, like them having to decrease their bandwidith and so forth.
When you arise in the morning, think of what a precious privilege it is to be alive - to breathe, to think, to enjoy, to love.
Manifesto7
Profile Blog Joined November 2002
Osaka27149 Posts
September 10 2009 00:10 GMT
#13
On September 10 2009 09:08 Alethios wrote:
Thing is though, ABP completely stops the downloads from the ad site. This may seem excellent on first glance, but free services like livestream often rely on these ads in order for them to be profitable. Without the download from the ad site though, a hit isn't recorded by the advertiser. If enough people do this (like the entire teamliquid audience for example), advertisers will see a large drop off in hits, leading to them stopping advertising and perhaps, ultimately, the removal of the service.

Thats the doomsday senario. Best case senario is that the livestream providers see some drop in revenue due to the advertisers not willing to pay as much, though this too could have some follow on effects, like them having to decrease their bandwidith and so forth.


Definitely something to think about.
ModeratorGodfather
Avidkeystamper
Profile Blog Joined June 2008
United States8552 Posts
September 10 2009 00:13 GMT
#14
On September 10 2009 08:35 pheer wrote:
Wow that's a lot of words! Here is a slimmed-down version for XP and Vista people:

1. Go to start > RUN

2. Type notepad c:\windows\system32\drivers\etc\hosts

3. Add the lines:
127.0.0.1 adserver.adtechus.com
127.0.0.1 pagead2.googlesyndication.com

Where's the RUN button? ><
Jaedong
Grobyc
Profile Blog Joined June 2008
Canada18410 Posts
September 10 2009 00:19 GMT
#15
On September 10 2009 09:13 Avidkeystamper wrote:
Show nested quote +
On September 10 2009 08:35 pheer wrote:
Wow that's a lot of words! Here is a slimmed-down version for XP and Vista people:

1. Go to start > RUN

2. Type notepad c:\windows\system32\drivers\etc\hosts

3. Add the lines:
127.0.0.1 adserver.adtechus.com
127.0.0.1 pagead2.googlesyndication.com

Where's the RUN button? ><

Under the windows search if you type in run it should come up as one of the few choices.

At least it did for me anyway.
If you watch Godzilla backwards it's about a benevolent lizard who helps rebuild a city and then moonwalks into the ocean.
Avidkeystamper
Profile Blog Joined June 2008
United States8552 Posts
September 10 2009 00:32 GMT
#16
Thanks, the Windows Logo + R also works.
Jaedong
Mystlord *
Profile Blog Joined July 2008
United States10264 Posts
Last Edited: 2009-09-10 00:36:20
September 10 2009 00:34 GMT
#17
On September 10 2009 09:08 Alethios wrote:
Thing is though, ABP completely stops the downloads from the ad site. This may seem excellent on first glance, but free services like livestream often rely on these ads in order for them to be profitable. Without the download from the ad site though, a hit isn't recorded by the advertiser. If enough people do this (like the entire teamliquid audience for example), advertisers will see a large drop off in hits, leading to them stopping advertising and perhaps, ultimately, the removal of the service.

Thats the doomsday senario. Best case senario is that the livestream providers see some drop in revenue due to the advertisers not willing to pay as much, though this too could have some follow on effects, like them having to decrease their bandwidith and so forth.

I highly doubt that SC is a big blip on their radar. I considered this before, but I decided to post this because I highly doubt that any SC viewers will click on their ads. Secondly, the cost by impression (basically how much you earn every time you see an ad), is extremely small. The SC community as a whole is not their biggest concern. And frankly, they wouldn't risk removing this service because of a small subsection of their market.

Edit: As for those who can't find the run button, in Windows Vista and possibly 7 (I haven't used it), the run button is removed and the search function when you open up the start menu takes over that functionality.
It is impossible to be a citizen if you don't make an effort to understand the most basic activities of your government. It is very difficult to thrive in an increasingly competitive world if you're a nation of doods.
Zona
Profile Blog Joined May 2007
40426 Posts
September 10 2009 02:29 GMT
#18
Aren't there 4 sc channels that regularly make the top 10 for livestream? I honestly think this could make a (negative) difference - in the past, quite a few bandwith intensive sites started up and shut down because they couldn't make enough money to support their costs.
"If you try responding to those absurd posts every day, you become more damaged. So I pay no attention to them at all." Jung Myung Hoon (aka Fantasy), as translated by Kimoleon
ghostWriter
Profile Blog Joined January 2009
United States3302 Posts
September 10 2009 02:33 GMT
#19
On September 10 2009 09:10 Manifesto7 wrote:
Show nested quote +
On September 10 2009 09:08 Alethios wrote:
Thing is though, ABP completely stops the downloads from the ad site. This may seem excellent on first glance, but free services like livestream often rely on these ads in order for them to be profitable. Without the download from the ad site though, a hit isn't recorded by the advertiser. If enough people do this (like the entire teamliquid audience for example), advertisers will see a large drop off in hits, leading to them stopping advertising and perhaps, ultimately, the removal of the service.

Thats the doomsday senario. Best case senario is that the livestream providers see some drop in revenue due to the advertisers not willing to pay as much, though this too could have some follow on effects, like them having to decrease their bandwidith and so forth.


Definitely something to think about.


Agreed, I have adblock plus and I wondered how livestream stayed profitable enough to stay alive since videos take a lot of bandwidth and I didn't realize that livestream.com showed ads. I'm definitely going to let it through my adblock plus because I can definitely let them brainwash me for 30 seconds in exchange for some high quality streams.
Sullifam
Mystlord *
Profile Blog Joined July 2008
United States10264 Posts
September 10 2009 02:56 GMT
#20
It's your choice to use this or not. I'll just give you a little perspective on this...

Top 9 channels of Livestream total combined minutes of viewing = ~524 million minutes.
SC footprint on Livestream = ~20 million minutes.

We're about 3.8% of the top 9 Livestream channels. I haven't even added in the 69ish channels before the first SC related channel (kentor's orangetv). There's also the rest of the channels in livestream to account for.

Relatively speaking, the SC footprint is really, really small.
It is impossible to be a citizen if you don't make an effort to understand the most basic activities of your government. It is very difficult to thrive in an increasingly competitive world if you're a nation of doods.
1 2 3 4 Next All
Please log in or register to reply.
Live Events Refresh
BSL20 Non-Korean Champi…
14:00
Playoff - Day 2/2 - Final
Mihu vs FengziLIVE!
Dewalt vs BonythLIVE!
ZZZero.O248
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Hui .308
SpeCial 148
mcanning 105
ProTech45
MindelVK 30
ForJumy 30
StarCraft: Brood War
Calm 5787
Stork 1054
Mini 1001
Horang2 893
Hyuk 624
EffOrt 574
ggaemo 445
firebathero 316
Mong 309
ZZZero.O 248
[ Show more ]
Larva 194
hero 145
Leta 111
TY 82
ToSsGirL 81
Zeus 68
Sea.KH 33
Terrorterran 22
Sharp 10
Dota 2
Gorgc5496
qojqva4027
420jenkins1873
XcaliburYe385
LuMiX1
League of Legends
Reynor72
Counter-Strike
tarik_tv6569
fl0m3521
ScreaM874
sgares215
oskar8
Heroes of the Storm
Liquid`Hasu543
Khaldor534
Other Games
Happy303
mouzStarbuck217
ArmadaUGS92
Organizations
Other Games
BasetradeTV28
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Berry_CruncH107
• Gemini_19 84
• davetesta45
• Reevou 5
• AfreecaTV YouTube
• intothetv
• sooper7s
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• FirePhoenix12
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV1001
League of Legends
• Jankos1538
Upcoming Events
WardiTV European League
30m
ByuN vs ShoWTimE
HeRoMaRinE vs MaxPax
Wardi Open
19h 30m
OSC
1d 8h
Stormgate Nexus
2 days
uThermal 2v2 Circuit
3 days
The PondCast
3 days
Replay Cast
4 days
LiuLi Cup
4 days
uThermal 2v2 Circuit
4 days
RSL Revival
5 days
[ Show More ]
RSL Revival
5 days
uThermal 2v2 Circuit
5 days
Sparkling Tuna Cup
6 days
uThermal 2v2 Circuit
6 days
Liquipedia Results

Completed

ASL Season 20: Qualifier #1
FEL Cracow 2025
CC Div. A S7

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Non-Korean Championship
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20: Qualifier #2
HCC Europe
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025

Upcoming

ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
WardiTV Summer 2025
uThermal 2v2 Main Event
Thunderpick World Champ.
MESA Nomadic Masters Fall
CAC 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.