• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 01:58
CEST 07:58
KST 14:58
  • 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
Team TLMC #5 - Finalists & Open Tournaments2[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon10[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
StarCraft II 5.0.15 PTR Patch Notes170BSL 2025 Warsaw LAN + Legends Showmatch2Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8
StarCraft 2
General
#1: Maru - Greatest Players of All Time StarCraft II 5.0.15 PTR Patch Notes SC4ALL: A North American StarCraft LAN Team TLMC #5 - Finalists & Open Tournaments Classic Games #3: Rogue vs Serral at BlizzCon
Tourneys
RSL: Revival, a new crowdfunded tournament series SC2's Safe House 2 - October 18 & 19 Stellar Fest KSL Week 80 StarCraft Evolution League (SC Evo Biweekly)
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
ASL ro8 Upper Bracket HYPE VIDEO Starcraft: Destruction expansion pack? StarCraft - Stratospace. Very rare expansion pack StarCraft Stellar Forces had bad maps BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL20] Ro16 Group D SC4ALL $1,500 Open Bracket LAN BSL 2025 Warsaw LAN + Legends Showmatch [ASL20] Ro16 Group C
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile Borderlands 3 General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread The Big Programming Thread Russo-Ukrainian War Thread UK Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
Too Many LANs? Tournament Ov…
TrAiDoS
i'm really bored guys
Peanutsc
I <=> 9
KrillinFromwales
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1896 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 States20034 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
Osaka27152 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 2h 2m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft520
StarCraft: Brood War
Movie 1050
Icarus 15
League of Legends
JimRising 734
Counter-Strike
Stewie2K611
Super Smash Bros
hungrybox403
Mew2King27
Westballz17
amsayoshi9
Heroes of the Storm
Khaldor133
Other Games
summit1g9427
ViBE188
XaKoH 182
NeuroSwarm119
Organizations
Other Games
BasetradeTV19
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• practicex 40
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• RayReign 32
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos235
• HappyZerGling117
Upcoming Events
BSL Open LAN 2025 - War…
2h 2m
RSL Revival
4h 2m
Classic vs TBD
WardiTV Invitational
5h 2m
Online Event
10h 2m
Afreeca Starleague
1d 4h
Barracks vs Mini
Wardi Open
1d 5h
Monday Night Weeklies
1d 10h
Sparkling Tuna Cup
2 days
LiuLi Cup
3 days
The PondCast
4 days
[ Show More ]
CranKy Ducklings
5 days
Maestros of the Game
6 days
Clem vs Reynor
[BSL 2025] Weekly
6 days
[BSL 2025] Weekly
6 days
Liquipedia Results

Completed

Proleague 2025-09-18
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
RSL Revival: Season 2
Maestros of the Game
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

Upcoming

IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
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.