The Blocklist button doesn't work for me, let me edit manually (plus import/export)
No need for too much explanation, it's an amazing feature, the one i use the most but the button almost never works, anything that youtube updates then it stop working, but at least it's blocking things just fine for me (yet).
My 2 cents to keep it working a little bit more? Make it field so i can manage it with a .txt file or something, import/export and stuff so i can manually put everything there to blocklist.
hi @cain-dev thank you!
I rewrote and fixed up blocklist https://github.com/code-charity/youtube/pull/2098 https://github.com/raszpl/YouTube-Extension/tree/BLOCKLIST in theory its ready to be merged, I just didnt get around to testing it too extensively.
Is export/Import a possibility?
No native support available, but this is how example (blocked content is some of my favorite, its just for a test) data looks like:
JSON.stringify(ImprovedTube.storage.blocklist)
{"channels":{"mustie1":{"preview":"https://yt3.googleusercontent.com/ytc/AIdro_lvexMnv3YQ3w6GC5tAJgH3rougPNODCB7BLMwTc99UWA=s900-c-k-c0x00ffffff-no-rj","title":"Mustie1"}},"videos":{"AEm-2giH_zw":{"title":"Flash photography used to be pretty wild"},"DTsQjiPlksA":{"title":"Old HVAC industry practices are holding us back and costing us money. But we can fix it."},"E3p_Cv32tEo":{"title":"The step-by-step, mechanical logic of old pinball machines"},"MFEHFsO-XSI":{"title":"Why Heat Pumps are Immensely Important Right Now"},"QvY6taoAeM8":{"title":"NAJWIĘKSZY FIAT LAT 70. #shorts #fiat #klasyk #fiat130"},"RSTNhvDGbYI":{"title":"Old-fashioned rice cookers are extremely clever"},"_hAuKtoRxJI":{"title":"HVAC professionals aren't sizing equipment appropriately [condensed version]"}}}
block button no longer appears anywhere onsite after this.
you dont see those ?
Uncaught TypeError: this.storage.blocklist is undefined blocklist /js&css/web-accessible/www.youtube.com/blocklist.js:61 ytElementsHandler /js&css/web-accessible/functions.js:44 childHandler /js&css/web-accessible/functions.js:10 childHandler /js&css/web-accessible/functions.js:14 childHandler /js&css/web-accessible/functions.js:14 childHandler /js&css/web-accessible/functions.js:14 observer /js&css/web-accessible/init.js:15 MutationCallback* /js&css/web-accessible/init.js:8
Latest version of Brave (1.75.178), "Add to Blocklist" button is not visible (next to the Subscribe button) on a channel home page. The other button on hovering a specific video thumbnail does show up and it works. But ideally it would be more efficient to block those crap channels outright instead of one video at a time. Thanks for your awesome work!