• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 00:30
CEST 06:30
KST 13: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
Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway13
Community News
SC4ALL $6,000 Open LAN in Philadelphia7Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues25LiuLi Cup - September 2025 Tournaments3Weekly Cups (August 25-31): Clem's Last Straw?39Weekly Cups (Aug 18-24): herO dethrones MaxPax6
StarCraft 2
General
Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues #1: Maru - Greatest Players of All Time Team Liquid Map Contest #21 - Presented by Monster Energy Classic Games #3: Rogue vs Serral at BlizzCon What happened to Singapore/Brazil servers?
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris RSL: Revival, a new crowdfunded tournament series Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia LANified! 37: Groundswell, BYOC LAN, Nov 28-30 2025
Strategy
Custom Maps
External Content
Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around Mutation # 487 Think Fast
Brood War
General
Pros React To: SoulKey's 5-Peat Challenge ASL20 General Discussion BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams
Tourneys
[ASL20] Ro16 Group A [ASL20] Ro16 Group B [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Borderlands 3 Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile General RTS Discussion Thread
Dota 2
LiquidDota to reintegrate into TL.net 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
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI 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
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 3256 users

Whitelist by Youtube Channel - GM script (UPDATED)

Blogs > dabom88
Post a Reply
dabom88
Profile Blog Joined July 2010
United States3483 Posts
Last Edited: 2014-06-22 23:57:05
June 22 2014 21:40 GMT
#1
Update to an older blog:
http://www.teamliquid.net/blogs/435906-whitelisting-by-channel-on-youtube-gm-tm-script

Turns out you can't edit older posts. So instead of having people confused by outdated instructions in the Opening Post, I decided to post a new blog. It's a good way of getting the message out there.

I love Adblock Plus. Such a handy add-on, and its ease of use on Firefox is one of the main reasons I use Firefox over Chrome (along with a lot of other handy little add-ons). Youtube is a big reason I will definitely keep ABP on by default. There are just some channels that don't deserve the ad revenue, like those who monetize videos with ads longer than the actual video. Or supporting any monetized video from IGN.

However, over the last few years, Youtube has become a big thing for a lot of good channels who rely on the ad revenue. And unfortunately, for people like me, the negatives of whitelisting all of youtube outweigh the benefits of supporting channels I care about. So what I did before was middle-click the ABP icon when I was about to watch a video on a channel that I specifically wanted to support.

The problem with this method was that I didn't always remember to do so. Of course, it's the internet, I want that sweet instant gratification, even if some precious approved views to channels were going wasted.

For a while, I used a Userscript by a user named schippi to whitelist specific Youtube channels. However, Youtube changed something in their Video Pages, which caused the script to no longer work. The problem was that the ID for a channel on a video was modified to use a weird string of characters instead of just the channel name.

A few months later, I found a new script from a user named AcasShows. He modified schippi's script to work with the new string of characters that identified a user's id.

I've been using it for a month or two now, and it works perfectly. But then Userscripts.org went down, and I didn't have an easy place to upload this script. But now I have found Greasyfork, which serves as a nice alternative, although it doesn't have ALL the good scripts Userscripts.org used to, yet. And I uploaded it there.

So here's the link to the script and code:
https://greasyfork.org/scripts/2734-youtube-whitelist-by-channel

Code:
+ Show Spoiler +
// ==UserScript==
// @name Youtube - Whitelist by Channel
// @namespace schippi (modified by AcasShows)
// @include http*://*.youtube.com/watch*
// @include http*://youtube.com/watch*
// @description Whitelist Youtube Videos from only channels you wish to support
// @version 1.1
// ==/UserScript==

var u = window.location.href;
if(u.search("user=") == -1){
if (!! document.getElementById("ud")) {
var user = document.getElementById("ud").getElementsByTagName("a")[0].getAttribute("href").split("/")[2];
window.location.href = u+"&user="+user;
}
else if (!! document.getElementById("body")) {
user = document.getElementById("watch7-user-header").getElementsByTagName("a")[0].getAttribute("href").split("/")[2]
window.location.href = u+"&user="+user;
}
else {
alert('script failed');
}

}


Instructions:
1. Install the Adblock Plus Extension for your internet browser.
Firefox: https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/
Chrome: https://chrome.google.com/webstore/detail/adblock-plus/cfhdojbkjhnklbpkdaibdccddilifddb?hl=en-US

2. Install the Greasemonkey Extension for your internet browser
Firefox: https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/?src=search

For Chrome, you can get TamperMonkey, but keep in mind, I have not tested this script for Chrome:
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en

3. Install the Script: https://greasyfork.org/scripts/2734-youtube-whitelist-by-channel

4. Go to a video by a Channel you wish to whitelist

5. Visual Aid: http://i.imgur.com/J2lbl5e.jpg
Go to the link in the video that links to the Channel Page. Copy the URL, and then copy the string of characters in the portion of the URL after /channel/. That is the "Channel ID". Keep in mind, it WILL be a string of characters in the URL, not a simple channel name like it would be if you went to the channel page, where all the URLs simply use the username.

6. Paste the "Channel ID" to where it says "CHANNEL" into this Adblock Plus filter @@|https://www.youtube.com/watch*user=CHANNEL

7. Go to Adblock Plus >> Filter Preferences (Shortcut: Ctrl+Shift+F)

8. Go to Custom Filters >> Exception Rules and click "Add a Filter"

9. Add your new filter. For the example in the Visual Aid, the new filter would be @@|https://www.youtube.com/watch*user=UCy1Ms_5qBTawC-k7PVjHXKQ

Done! Do your part to make sure the channels you like are paid for their hard work. Otherwise, some of them wont be able to keep entertaining you for a living.

What this does is that whenever you go to a youtube link, it will refresh the page to include the user's "Channel ID" at the end of the url. If the video is by one of the channels you whitelisted, Adblock Plus will catch it and Adblock will be disabled.

Some Whitelists I added:
@@|https://www.youtube.com/watch*user=UCAI86CUHDIkKXGA6YpVBhYg
^ ESportsTV's Channel (Proleague's channel): https://www.youtube.com/user/ESportsTV
(Support Proleague and make sure to add this filter!)

@@|https://www.youtube.com/watch*user=UC3kJdy9_bXFg8flaSY3RAcQ
^ TotalBiscuit's Starcraft 2 and Axiom channel: https://www.youtube.com/user/TotalBiscuit

@@|https://www.youtube.com/watch*user=UCy1Ms_5qBTawC-k7PVjHXKQ
^ Total Biscuit's gaming channel: https://www.youtube.com/user/TotalHalibut

@@|https://www.youtube.com/watch*user=UC-teGPup3KKf9hoAg5yJk8Q
^ Team Liquid's channel: https://www.youtube.com/user/TeamLiquid

I feel that this is a great way to support the channels you want to support, while leaving Adblock on for the rest of Youtube. If you truly feel a channel has earned you whitelisting it, you can now just add just that channel to a whitelist without having to whitelist all of youtube.

If you feel that channel is no longer uploading videos that deserve your approved view, you can just remove the whitelist entry for that channel. Some channels do work hard for their videos and approved views, so please consider whitelisting just those channels you feel deserve your support. At the very least, you can install the script to give yourself the option to do so.

Other entries in my "How to improve your website browsing experience" series:

Watch Twitch/DM on VLC/MPC(good for low-end users): http://www.teamliquid.net/blogs/445573-watch-twitch-dm-on-vlc-mpcgood-for-low-end-users

How to get Twitch to play on SmartTVs via Serviio: http://www.teamliquid.net/blogs/437509-how-to-get-twitch-to-play-on-smarttvs-via-serviio

*****
You should not have to pay to watch the GSL, Proleague, or OSL at a reasonable time. That is not "fine" and it's BS to say otherwise. My sig since 2011. http://www.youtube.com/user/dabom88
Please log in or register to reply.
Live Events Refresh
Next event in 5h 30m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
NeuroSwarm 171
StarCraft: Brood War
Sea 4260
NaDa 70
sSak 40
Noble 17
Icarus 8
Dota 2
LuMiX1
League of Legends
JimRising 649
Super Smash Bros
hungrybox748
Other Games
summit1g6738
WinterStarcraft433
ViBE171
XaKoH 132
Organizations
Other Games
gamesdonequick2258
BasetradeTV26
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH254
• practicex 32
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Diggity6
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• Scarra1675
Upcoming Events
RSL Revival
5h 30m
Maestros of the Game
12h 30m
BSL Team Wars
14h 30m
Afreeca Starleague
1d 5h
Snow vs Sharp
Jaedong vs Mini
Wardi Open
1d 6h
Sparkling Tuna Cup
2 days
Afreeca Starleague
2 days
Light vs Speed
Larva vs Soma
LiuLi Cup
3 days
The PondCast
4 days
Korean StarCraft League
5 days
[ Show More ]
[BSL 2025] Weekly
6 days
BSL Team Wars
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
SEL Season 2 Championship
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
RSL Revival: Season 2
Maestros of the Game
Chzzk MurlocKing SC1 vs SC2 Cup #2
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

2025 Chongqing Offline CUP
BSL Polish World Championship 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
SC4ALL: StarCraft II
EC S1
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
StarSeries 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.