您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
3/22/2023, 6:14:31 PM
// ==UserScript== // @name Mobilism - Mobile Easy Searchbar // @namespace Violentmonkey Scripts // @match https://forum.mobilism.org/* // @match https://forum.mobilism.me/* // @grant none // @version 1.0 // @author webdevz.sk | BENZiN // @run-at document-end // @description 3/22/2023, 6:14:31 PM // @license MIT // ==/UserScript== const ogSearch = document.querySelector("#forum-search") const newSearch = ogSearch.cloneNode(true) newSearch.id = "new-forum-search" document.querySelector(".leftArea").appendChild(newSearch) const css = ` #new-forum-search{ display: none; } @media(max-width: 767px){ #new-forum-search{ display: block; } } ` const styleNode = document.createElement("style") styleNode.appendChild(document.createTextNode(css)) ;(document.querySelector("head") || document.documentElement).appendChild(styleNode)
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址