• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:28
CEST 14:28
KST 21:28
  • 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
TL.net Map Contest #21: Voting3[ASL20] Ro4 Preview: Descent6Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Weekly Cups (Oct 6-12): Four star herO65.0.15 Patch Balance Hotfix (2025-10-8)69Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition325.0.15 Balance Patch Notes (Live version)119
StarCraft 2
General
5.0.15 Patch Balance Hotfix (2025-10-8) The New Patch Killed Mech! TL.net Map Contest #21: Voting Weekly Cups (Oct 6-12): Four star herO PartinG joins SteamerZone, returns to SC2 competition
Tourneys
Master Swan Open (Global Bronze-Master 2) Tenacious Turtle Tussle WardiTV Mondays SC2's Safe House 2 - October 18 & 19 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
External Content
Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Brood War web app to calculate unit interactions BSL Season 21 Whose hotkey signature is this? Any rep analyzer that shows resources situation?
Tourneys
[ASL20] Semifinal B [ASL20] Semifinal A [Megathread] Daily Proleagues [ASL20] Ro8 Day 4
Strategy
Current Meta BW - ajfirecracker Strategy & Training Siegecraft - a new perspective TvZ Theorycraft - Improving on State of the Art
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Dawn of War IV Path of Exile
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread Men's Fashion Thread Things Aren’t Peaceful in Palestine Sex and weight loss US Politics Mega-thread
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Inbreeding: Why Do We Do It…
Peanutsc
From Tilt to Ragequit:The Ps…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1160 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
LiuLi Cup
11:00
46
ByuN vs SHIN
Rogue vs herO
Clem vs Classic
WardiTV724
RotterdaM372
Rex115
Liquipedia
Afreeca Starleague
10:00
Ro4 Match 2
Soma vs BisuLIVE!
Afreeca ASL 20660
sctven
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 372
Lowko262
Rex 115
SortOf 108
ProTech92
StarCraft: Brood War
Calm 12391
Rain 6272
Flash 5857
Sea 5409
Jaedong 3688
BeSt 2460
Horang2 1215
Mini 1101
EffOrt 736
Pusan 671
[ Show more ]
Larva 592
actioN 510
ZerO 438
Stork 372
firebathero 301
Hyun 275
Light 209
Barracks 156
hero 106
PianO 101
ToSsGirL 71
JYJ65
Backho 59
Rush 50
Mong 50
Aegong 46
JulyZerg 38
NotJumperer 34
Sea.KH 34
Sharp 29
soO 21
Bale 19
yabsab 19
Terrorterran 19
Sacsri 16
ajuk12(nOOB) 13
scan(afreeca) 13
Icarus 13
HiyA 11
Hm[arnc] 10
Noble 10
SilentControl 9
ivOry 6
Dota 2
qojqva1160
Dendi578
XaKoH 367
XcaliburYe245
BananaSlamJamma57
Counter-Strike
x6flipin456
oskar72
edward38
Other Games
olofmeister1012
crisheroes350
B2W.Neo347
Pyrionflax269
hiko263
DeMusliM219
Liquid`LucifroN82
Fuzer 67
ArmadaUGS35
Codebar3
Organizations
Counter-Strike
PGL4920
StarCraft: Brood War
UltimateBattle 369
lovetv 13
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 12 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2833
Upcoming Events
OSC
1h 32m
OSC
5h 32m
MaxPax vs Gerald
Solar vs Krystianer
PAPI vs Lemon
Ryung vs Moja
Nice vs NightPhoenix
Cham vs TBD
MaNa vs TriGGeR
PiGosaur Monday
11h 32m
OSC
1d 10h
The PondCast
1d 21h
OSC
1d 23h
Wardi Open
2 days
CranKy Ducklings
3 days
Safe House 2
4 days
Sparkling Tuna Cup
4 days
[ Show More ]
Safe House 2
5 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
CS Asia Championships 2025
ESL Pro League S22
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

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
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.