• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:29
CEST 18:29
KST 01:29
  • 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
[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris31Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
Aligulac - Europe takes the podium A Eulogy for the Six Pool Geoff 'iNcontroL' Robinson has passed away Weekly Cups (Aug 18-24): herO dethrones MaxPax 2v2 & SC: Evo Complete: Weekend Double Feature
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris Esports World Cup 2025 WardiTV Mondays RSL: Revival, a new crowdfunded tournament series Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
ASL Season 20 Ro24 Groups Flash On His 2010 "God" Form, Mind Games, vs JD No Rain in ASL20? Joined effort [ASL20] Ro24 Preview Pt2: Take-Off
Tourneys
[ASL20] Ro24 Group F [ASL20] Ro24 Group D [Megathread] Daily Proleagues [IPSL] CSLAN Review and CSLPRO Reimagined!
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
Nintendo Switch Thread General RTS Discussion Thread Stormgate/Frost Giant Megathread Dawn of War IV Path of Exile
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
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine The year 2050 European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
High temperatures on bridge(s) Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment"
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Breaking the Meta: Non-Stand…
TrAiDoS
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1142 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
5391 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 States20022 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
Next event in 7h 31m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech103
UpATreeSC 56
BRAT_OK 32
MindelVK 16
StarCraft: Brood War
Britney 31368
Calm 6276
Horang2 1535
Bisu 1420
Rain 1386
EffOrt 740
actioN 466
Mini 447
Larva 387
ggaemo 253
[ Show more ]
Soulkey 171
Hyuk 155
Mong 139
PianO 117
Snow 73
Killer 54
JYJ52
sas.Sziky 52
Hyun 51
Sharp 43
ajuk12(nOOB) 33
Yoon 30
ToSsGirL 30
Aegong 22
Sacsri 15
soO 15
HiyA 15
Free 14
Rock 14
zelot 13
Shine 12
Terrorterran 10
IntoTheRainbow 9
scan(afreeca) 9
Beast 3
Dota 2
Gorgc6710
Dendi1287
syndereN470
Fuzer 240
XcaliburYe199
Counter-Strike
fl0m3725
olofmeister2471
flusha161
Other Games
hiko1046
FrodaN732
Lowko468
RotterdaM256
KnowMe229
Trikslyr75
QueenE42
markeloff37
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• davetesta15
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV551
League of Legends
• TFBlade631
Upcoming Events
Replay Cast
7h 31m
The PondCast
17h 31m
WardiTV Summer Champion…
18h 31m
herO vs MaxPax
Clem vs Classic
Replay Cast
1d 7h
LiuLi Cup
1d 18h
MaxPax vs TriGGeR
ByuN vs herO
Cure vs Rogue
Classic vs HeRoMaRinE
Cosmonarchy
1d 23h
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
BSL Team Wars
2 days
Team Hawk vs Team Dewalt
BSL Team Wars
2 days
Team Hawk vs Team Bonyth
SC Evo League
2 days
TaeJa vs Cure
Rogue vs threepoint
ByuN vs Creator
MaNa vs Classic
Maestros of the Game
2 days
ShoWTimE vs Cham
GuMiho vs Ryung
Zoun vs Spirit
Rogue vs MaNa
[ Show More ]
[BSL 2025] Weekly
3 days
SC Evo League
3 days
Maestros of the Game
3 days
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
BSL Team Wars
4 days
Team Bonyth vs Team Sziky
BSL Team Wars
4 days
Team Dewalt vs Team Sziky
Monday Night Weeklies
4 days
Replay Cast
5 days
Sparkling Tuna Cup
5 days
Liquipedia Results

Completed

CSLAN 3
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 1
Acropolis #4 - TS1
CSL Season 18: Qualifier 2
SEL Season 2 Championship
WardiTV Summer 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
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.