I know, ads on sites like YouTube and Twitch can be annoying and I think ad blockers certainly
are a valid last resort against people who abuse the system but I'm sure you're also
aware that the overwhelming majority of the content you like on these websites wouldn't
exist without ads.
The best alternative of course would be to subscribe to YouTube Premium or Twitch Turbo
to get ad-free videos and also support the creators.
But if you're not willing to spend any money, a great first step in the right direction
is whitelisting YouTube and Twitch channels in uBlock Origin.
Whitelisting the whole website by clicking on the blue power switch in uBlock Origin
would be the easiest way of course but let's say you really only want to whitelist individual
channels.
Individual Twitch channels are a lot faster to whitelist than YouTube channels, so I'll
start with that first.
Skip to the displayed time to watch the YouTube solution.
Go to the Twitch channel you want to whitelist.
Now the quickest way is to hold the Control-key on Windows or Command-Key on Mac and press
the blue power switch.
This whitelists only the page you are on right now, so if you go to videos for example, you
will notice the ad blocker is enabled again.
To fix this, go to the uBlock Origin Dashboard and then the Whitelist tab.
Search for Twitch and edit this entry.
Remove the front of the URL so the whitelist also applies to notations of this address
like http and then add an asterisk at the end.
The asterisk is whats called a wildcard which means it is a placeholder for anything.
This makes sure all possible sub-sites of this channel are whitelisted as well, so including
the "Videos" page.
Apply the changes and go back to see if it worked.
The icon is greyed out which means the whitelist was successful.
Now for YouTube channels.
I tried out many proposed solutions on Reddit and elsewhere but most didn't seem to work
anymore, largely because YouTube is changing it's website a lot.
I also ignored solutions that would have had to load the video page twice, which is stupid.
Again, I would recommend to just whitelist the whole website if you want a one-click
solution but if you want to do it, it is possible to whitelist individual channels with uBlock
Origin.
You will first need the add-on "Tampermonkey" available for all modern browsers.
It's a userscript manager which will help us to recognize the channel on a video page.
This is necessary because YouTube doesn't use a simple URL scheme like Twitch does.
Once Tampermonkey is installed, we need the corresponding script, link in the video description.
Click on install and Tampermonkey will automatically offer to install the script.
The creator of the script notes that this script will reload the page entirely when
you select a video instead of the transition with the red bar at the top YouTube currently
uses, which isn't an issue for me.
And lastly, you will need a free YouTube API key, which isn't as scary as it sounds.
All you need is a Google account.
Visit the Google Developer Console, link in the description, and on the right side, click
on "Create Project".
Give it any name and select "create".
Then in the navigation menu, go to "API's and services" and click on "Library".
Make sure your project is selected.
In the library search for "Youtube" and select the "YouTube Data API".
Click on "Enable" and then on the right side "Create credentials" to generate your API
key.
In the form, select "Web browser (Javascript)" and "Public data".
Then your generated API key is displayed.
Copy it and leave to page open for now, just in case you need it again.
Go to the Tampermonkey icon and launch the Dashboard.
Click on the script we downloaded earlier to edit it.
Find the first line where it says "YOUR KEY" and paste your API key between the quotation
marks.
But ONLY change the first line, leave the rest as it is and save the file.
Now we can start to whitelist YouTube channels.
Load a video of the YouTube channel you want to whitelist and look at the address bar.
You will notice the script adds the channel ID to the URL, so copy the "user" part after
the ampersand.
Open the uBlock Origin Dashboard, go to the whitelist tab and create a new entry.
Type in "youtube.com/*", then paste the part from the address bar and at the end type another
asterisk.
Apply the changes and the channel should be finally whitelisted now.
For more infomation >> Sacharowa zu angeblicher neuer Nowitschok-Vergiftung: Politische Spielchen und Intrigen beenden! - Duration: 1:40. 

For more infomation >> स्प्रे मशीन का जुगाड़,नहीं होंगे परेशान/Desi jugad for spray machine/waste decomposer spray - Duration: 2:11.
For more infomation >> Rap Buồn Cực Chất Đau Thắt Con Tim Hay Nhất 2018 ( P.2 ) | Rap Nghe Đi Hay Lắm | Nỗi Nhớ Ngày Anh Đi - Duration: 2:24:44.
For more infomation >> SebahPACK 1.8.8 / ResourcePacks - Duration: 2:02.
For more infomation >> YAMASHIRO ONSEN BAJO LA LLUVIA (KAGA ONSEN) - Duration: 5:11.
For more infomation >> [뉴스] || [연예 뉴스 스테이션] 영화 '변산' 수록된 랩 9곡 음원 출시 ? - Duration: 1:36.
For more infomation >> [뉴스] || [연예 뉴스 스테이션] 씨엔블루 강민혁-이정신, 31일 입대 ? - Duration: 1:37.
For more infomation >> [뉴스] || [연예 뉴스 스테이션] '프로메테우스' 하지원, 첩보원 연기 ? - Duration: 1:35.
For more infomation >> [뉴스] || [연예 뉴스 스테이션] 고윤·고나은 "연인 사이 아니다" ? - Duration: 1:35. 
For more infomation >> 이유영 남자친구 김주혁 사망 소식에 충격. - Duration: 9:27. 
Không có nhận xét nào:
Đăng nhận xét