• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:43
CEST 22:43
KST 05:43
  • 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
[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Firefly given lifetime ban by ESIC following match-fixing investigation11$25,000 Streamerzone StarCraft Pro Series announced6Weekly Cups (June 30 - July 6): Classic Doubles6[BSL20] Non-Korean Championship 4x BSL + 4x China9Flash Announces Hiatus From ASL66
StarCraft 2
General
Firefly given lifetime ban by ESIC following match-fixing investigation TL Team Map Contest #4: Winners Weekly Cups (June 30 - July 6): Classic Doubles The SCII GOAT: A statistical Evaluation The GOAT ranking of GOAT rankings
Tourneys
$25,000 Streamerzone StarCraft Pro Series announced FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series WardiTV Mondays
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ ASL20 Preliminary Maps [G] Progamer Settings [ASL19] Finals Recap: Standing Tall SC uni coach streams logging into betting site
Tourneys
[Megathread] Daily Proleagues [BSL20] Non-Korean Championship 4x BSL + 4x China [BSL20] Grand Finals - Sunday 20:00 CET CSL Xiamen International Invitational
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Positive Thoughts on Setting Up a Dual-Caliber FX
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
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread Summer Games Done Quick 2025! Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
momentary artworks from des…
tankgirl
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 586 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 States20017 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
Osaka27143 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 3h 17m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ZombieGrub136
UpATreeSC 123
ProTech77
JuggernautJason68
StarCraft: Brood War
NaDa 26
LuMiX 1
League of Legends
Grubby3558
Dendi1273
Counter-Strike
fl0m1370
Fnx 1348
Stewie2K782
sgares89
Super Smash Bros
Chillindude35
Heroes of the Storm
Liquid`Hasu572
Khaldor159
Other Games
summit1g8906
Beastyqt632
mouzStarbuck325
C9.Mang0285
B2W.Neo184
elazer147
Sick55
Organizations
Other Games
gamesdonequick44775
BasetradeTV52
StarCraft 2
angryscii 33
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 22 non-featured ]
StarCraft 2
• davetesta11
• HeavenSC 9
• Reevou 8
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• RayReign 48
• Eskiya23 20
• FirePhoenix7
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22663
• Ler111
League of Legends
• Jankos2009
• TFBlade882
Other Games
• imaqtpie1766
• Shiphtur590
Upcoming Events
Replay Cast
3h 17m
RSL Revival
13h 17m
ByuN vs SHIN
Clem vs Reynor
OSC
16h 17m
Replay Cast
1d 3h
RSL Revival
1d 13h
Classic vs Cure
FEL
1d 19h
OSC
1d 23h
RSL Revival
2 days
FEL
2 days
FEL
2 days
[ Show More ]
CSO Cup
2 days
BSL20 Non-Korean Champi…
2 days
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
Sparkling Tuna Cup
3 days
RSL Revival
3 days
FEL
3 days
BSL20 Non-Korean Champi…
3 days
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Replay Cast
5 days
Liquipedia Results

Completed

Proleague 2025-07-07
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
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

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
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
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.