您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove videos from 9gag
// ==UserScript== // @name vidBgone // @namespace http://tampermonkey.net/ // @version 0.1 // @description Remove videos from 9gag // @author Entropy0 // @match https://9gag.com/* // @grant none // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js // ==/UserScript== // For some reason, disabling videos upon page load keeps the whole page blank. But endless scroll means we'd have to reapply at scrolling anyway. (function() { 'use strict'; // $(".gif-post").parents('article').css("display", "none"); $(window).scroll(function(){$(".gif-post").parents('article').css("display", "none");}); // $(".video-post").parents('article').css("display", "none"); $(window).scroll(function(){$(".video-post").parents('article').css("display", "none");}); // $(".youtube-post").parents('article').css("display", "none"); $(window).scroll(function(){$(".youtube-post").parents('article').css("display", "none");}); // $(".outstream-ad-outer-wrapper").css("display", "none"); $(window).scroll(function(){$(".outstream-ad-outer-wrapper").css("display", "none");}); // $(".post-page").css("display", "block"); $(window).scroll(function(){$(".post-page").css("display", "block");}); })();