• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:08
CEST 00:08
KST 07:08
  • 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 Tall9HomeStory 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
Flash Announces Hiatus From ASL59Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event19Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Program: SC2 / XSplit / OBS Scene Switcher Statistics for vetoed/disliked maps The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2) [GSL 2025] Code S: Season 2 - Semi Finals & Finals
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Flash Announces Hiatus From ASL SC uni coach streams logging into betting site BGH Mineral Boosts Tutorial Video Player “Jedi” cheat on CSL Replays question
Tourneys
[Megathread] Daily Proleagues [BSL20] Grand Finals - Sunday 20:00 CET Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread 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
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 Trading/Investing Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion 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
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 523 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 11h 52m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
JuggernautJason126
ProTech88
Nina 78
StarCraft: Brood War
firebathero 239
NaDa 36
Rock 35
LancerX 26
Dota 2
LuMiX1
League of Legends
Grubby3573
Dendi1369
Heroes of the Storm
Liquid`Hasu538
Khaldor269
Other Games
summit1g9604
FrodaN2198
fl0m680
RotterdaM329
Sick60
ViBE28
Organizations
Other Games
BasetradeTV40
StarCraft 2
angryscii 27
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 23 non-featured ]
StarCraft 2
• Berry_CruncH283
• davetesta47
• musti20045 37
• tFFMrPink 19
• OhrlRock 4
• Kozan
• Migwel
• sooper7s
• AfreecaTV YouTube
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• Pr0nogo 8
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21607
• Ler129
League of Legends
• Doublelift4435
• Jankos2548
Other Games
• imaqtpie1127
• Shiphtur467
• WagamamaTV406
Upcoming Events
RSL Revival
11h 52m
Clem vs Classic
SHIN vs Cure
FEL
13h 52m
WardiTV European League
13h 52m
BSL: ProLeague
19h 52m
Dewalt vs Bonyth
Replay Cast
2 days
Sparkling Tuna Cup
2 days
WardiTV European League
2 days
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
[ Show More ]
Replay Cast
5 days
RSL Revival
5 days
FEL
5 days
RSL Revival
6 days
FEL
6 days
FEL
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
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
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
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.