您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This disables the Best Of link at the top of MetaFilter.com
当前为
- // ==UserScript==
- // @name Disable Best Of Link
- // @namespace http://www.onfocus.com/
- // @description This disables the Best Of link at the top of MetaFilter.com
- // @include http://*.metafilter.com/
- // @version 1
- // @grant none
- // ==/UserScript==
- (function(){
- var a = document.getElementsByTagName('a');
- for(var i = 0; i < a.length; i++) {
- if ((a[i].href=='http://bestof.metafilter.com/') || (a[i].href=='https://bestof.metafilter.com/')) {
- a[i].href='javascript:void(0)';
- break;
- }
- }
- })();