• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 13:07
CEST 19:07
KST 02:07
  • 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
Code S Season 2 - RO4 & Finals Results (2025)10Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy4Code S RO8 Preview: herO, Zoun, Bunny, Classic7Code S RO8 Preview: Rogue, GuMiho, Solar, Maru3
Community News
Weekly Cups (June 9-15): herO doubles on GSL week0Firefly suspended by EWC, replaced by Lancer12Classic & herO RO8 Interviews: "I think it’s time to teach [Rogue] a lesson."2Rogue & GuMiho RO8 interviews: "Lifting that trophy would be a testament to all I’ve had to overcome over the years and how far I’ve come on this journey.8Code S RO8 Results + RO4 Bracket (2025 Season 2)14
StarCraft 2
General
Code S Season 2 - RO4 & Finals Results (2025) Nexon wins bid to develop StarCraft IP content, distribute Overwatch mobile game Rain's Behind the Scenes Storytime Firefly suspended by EWC, replaced by Lancer How herO can make history in the Code S S2 finals
Tourneys
RSL: Revival, a new crowdfunded tournament series SOOPer7s Showmatches 2025 SOOP Starcraft Global #22 $3,500 WardiTV European League 2025 [GSL 2025] Code S: Season 2 - Semi Finals & Finals
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers [G] Darkgrid Layout
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 478 Instant Karma Mutation # 477 Slow and Steady Mutation # 476 Charnel House Mutation # 475 Hard Target
Brood War
General
BW General Discussion ASL20 Preliminary Maps BGH Auto Balance -> http://bghmmr.eu/ Recent recommended BW games FlaSh Witnesses SCV Pull Off the Impossible vs Shu
Tourneys
[BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET [BSL20] ProLeague Bracket Stage - WB Finals & LBR3 [Megathread] Daily Proleagues [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile Beyond All Reason What do you want from future RTS games?
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
Vanilla Mini Mafia TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread UK Politics Mega-thread Russo-Ukrainian War Thread Echoes of Revolution and Separation
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
A Better Routine For Progame…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 29567 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 States20010 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
Osaka27140 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
Next event in 1h 54m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 406
RotterdaM 273
Nina 193
ProTech66
UpATreeSC 61
RushiSC 28
StarCraft: Brood War
Britney 32073
EffOrt 1339
Bisu 917
Stork 626
Hyuk 264
firebathero 246
Snow 240
Mong 150
Soulkey 101
PianO 99
[ Show more ]
Dewaltoss 82
Barracks 80
hero 74
sSak 64
Movie 33
soO 31
TY 28
sas.Sziky 23
Aegong 22
Terrorterran 20
Rock 19
JulyZerg 15
Dota 2
Gorgc7104
qojqva3093
Fuzer 199
XcaliburYe169
Counter-Strike
ceh9466
kRYSTAL_14
Heroes of the Storm
Khaldor214
Liquid`Hasu53
Other Games
Dendi807
markeloff448
elazer386
C9.Mang0365
crisheroes241
ArmadaUGS236
KnowMe86
Trikslyr60
QueenE44
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• StrangeGG 76
• poizon28 34
• HeavenSC 12
• Migwel
• sooper7s
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• blackmanpl 30
• Azhi_Dahaki27
• Rasowy 6
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Nemesis6221
• Jankos3317
• TFBlade1130
Counter-Strike
• Shiphtur167
Other Games
• WagamamaTV197
Upcoming Events
BSL: GosuLeague
1h 54m
Hejek vs Aeternum
Semih vs TousaN
Replay Cast
6h 54m
The PondCast
16h 54m
RSL Revival
16h 54m
Harstem vs SHIN
Solar vs Cham
WardiTV Invitational
18h 54m
ByuN vs Reynor
Clem vs MaxPax
OSC
19h 24m
Replay Cast
1d 6h
RSL Revival
1d 16h
Reynor vs Scarlett
ShoWTimE vs Classic
uThermal 2v2 Circuit
1d 21h
SOOP
2 days
Cure vs Zoun
[ Show More ]
SC Evo League
2 days
Road to EWC
2 days
SOOP Global
2 days
Future vs MaNa
Harstem vs Cham
Circuito Brasileiro de…
3 days
BSL: ProLeague
3 days
Sziky vs JDConan
Cross vs MadiNho
Hawk vs Bonyth
Sparkling Tuna Cup
3 days
Road to EWC
3 days
BSL: ProLeague
4 days
UltrA vs TBD
Dewalt vs TBD
Online Event
6 days
Liquipedia Results

Completed

Acropolis #3 - GSC
2025 GSL S2
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
BLAST Open Fall 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.