您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
简单加点padding把搜索结果移到中间。
当前为
- // ==UserScript==
- // @name Search Align Fucker (simple impl)
- // @version 0.0.0.1
- // @author Heizi黑字
- // @description a simple implementation of moving search result to page center and that's google and bing.
- // @license GPL-3.0 License
- // @grant GM.setValue
- // @grant GM.getValue
- // @match https?://(www\.)?(google|bing)\.(.)+/search\?.+
- // @run-at document-end
- // @supportURL https://github.com/ElisaMin/justify-search-page-to-center
- // @homepageURL https://github.com/ElisaMin/justify-search-page-to-center
- // @name:zh-CN 居中啊!他娘的搜索引擎!
- // @description:zh-CN 简单加点padding把搜索结果移到中间。
- // @namespace https://gf.qytechs.cn/users/1018732
- // ==/UserScript==
- (()=>{
- let css = (dom,style,value) => $(dom).style[style] = value;
- let pl = (dom,paddingLeft) => css(dom,"padding-left",paddingLeft);
- let rem = (v)=>v+"rem";
- let paddingLeft = 41;
- pl("#b_header",rem(paddingLeft));
- pl("#b_content",rem(paddingLeft+10.5));
- })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址