// ==UserScript== // @name Block youtube users / channels // @author Schegge // @namespace https://greasyfork.org/en/users/12632-schegge // @description Prevent from seeing videos by certain users (from recommendation, search... //no in playlists) // @version 1.1 // @history 1.1 minor fixes // @match *://www.youtube.com/* // @exclude *://www.youtube.com/embed/* // @exclude *//www.youtube.com/playlist?list=WL // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js // @grant GM_getValue // @grant GM_setValue // @downloadURL none // ==/UserScript== //* INSTRUCTIONS *//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*// // → the program is case-insensitive // // → split the usernames with a comma // // → put a * in front of a word for wildcard, it will find the word no matter its position in the username (example: *vevo) // // → after saving refresh the page // //*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*//*// (function($) { var gmSaved = GM_getValue("savedblocks", "the program is case-insensitive, split the usernames with a comma, put a * in front of a word for wildcard, it will find the word no matter its position in the username, example, *vevos, after saving refresh the page, delete all of this"); var ytblacklist = gmSaved.split(","); // add blacklist button to the menu $liButton = $("