您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
吧啦串要小心不要按到噓~現在按到的時候會再次詢問你~
// ==UserScript== // @name 巴哈姆特吧啦串小心按噓功能(棄用功能) // @namespace http://www.isaka.idv.tw/ // @version 0.2-deperated // @description 吧啦串要小心不要按到噓~現在按到的時候會再次詢問你~ // @author Isaka(jason21716@巴哈姆特) // @match https://guild.gamer.com.tw/guild.php* // @match https://guild.gamer.com.tw/singlePost.php* // @match https://home.gamer.com.tw/bahawall.php* // @match https://home.gamer.com.tw/singlePost.php* // @require https://code.jquery.com/jquery-3.3.1.min.js // @run-at document-idle // ==/UserScript== (function() { 'use strict'; $('.msgitembar span:nth-child(4)').each(function(){ if( $(this).children().length > 0 ){ $(this).find('a').text('噓(小心)'); $(this).find('a').click(function(e){ if(confirm("你按下了噓鍵!你真的要這樣做嗎?")){ return; }else{ e.preventDefault(); } }); } }); })();