您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove Text Fragment from Google search result URLs
当前为
// ==UserScript== // @name Remove Text Fragment // @namespace https://gf.zukizuki.org/users/783910 // @name:ja Text Fragmentの削除 // @version 0.2 // @description Remove Text Fragment from Google search result URLs // @description:ja Google検索結果のURLからText Fragmentを削除する // @author ysnr777 // @match https://www.google.com/search?* // @grant none // ==/UserScript== (function() { 'use strict'; for (const el of document.querySelectorAll("a[href*=':~:']")) { el.href = el.href.replace(/#:~:[^"]*/, ''); } })();