// ==UserScript== // @name 彪扑 // @namespace https://greasyfork.org/gmail // @version 0.3.2 // @description (从“烂虎扑屏蔽器”修改而来。)根据屏蔽标题和作者的关键词 // @author biopsy // @license Apache Licence 2.0 // @match https://bbs.hupu.com/* // @icon https://w1.hoopchina.com.cn/images/pc/old/favicon.ico // @grant unSafeWindow // @grant GM_setValue // @grant GM_getValue // @grant GM_log // @grant GM_notification // @grant GM_listValues // @grant GM_deleteValue // @require https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js // @require https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js // @downloadURL https://update.greasyfork.icu/scripts/518891/%E5%BD%AA%E6%89%91.user.js // @updateURL https://update.greasyfork.icu/scripts/518891/%E5%BD%AA%E6%89%91.meta.js // ==/UserScript== (function () { 'use strict'; const Keys = {blacklist: "banKeyword", tour: "firstTime"}; function appendAssets() { const $head = $("head"); $head.append($(``)); $head.append($(``)); $head.append($(``)); } function appendElements() { // 添加右下角fab const $body = $("body"); $body.append($(`
lightbulb_outline
`)); // 添加屏蔽词的chips $body.append($(`