您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the godawful 'recommendations' youtube gives you on the front page.
当前为
- // ==UserScript==
- // @name Recommend this
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description Removes the godawful 'recommendations' youtube gives you on the front page.
- // @author You
- // @match https://www.youtube.com/
- // @grant none
- // @require http://code.jquery.com/jquery-latest.js
- // ==/UserScript==
- /* jshint -W097 */
- 'use strict';
- //Remove the big recommended div
- $('.feed-item-container').first().hide();
- var blurbs = [
- 'Recommended channel for you',
- 'Want all the latest updates? Subscribe now.',
- 'Recommended videos for you'
- ];
- var churn = setInterval(function() {
- blurbs.forEach(function(blurb) {
- var selector = 'li:contains("'+blurb+'")';
- var $el = $(selector);
- $(selector).hide();
- });
- }, 500);