您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Modify URLs in search results of search engines
当前为
Github Repo: https://github.com/domeniczz/URL-Modifier-for-Search-Engines
Modify URLs in the search result of search engines, redirect the URL to alternatives sites or just do some other useful modification.
URL modification uses Regular Expression.
Search Engine support:
You can manually add HTML selector in the code to support other search engines.
Can't support Bing, because it only provide intermediate links.
Built-in redirection:
You can add custom redirection rules into the script yourself.
Other alternatives privacy friendly frontends, see LibRedirect.
URL modification rules in regular expression
Variable | Description |
---|---|
matchRegex | regular expression for matching original URLs |
replaceWith | regular expression for replacement |
Selector rules for each search engine results
Variable | Description |
---|---|
selector | selector for DOM element |
updateText | flag for whether to update the text or href value of the element |
childSelector | selector for child DOM element under parent element |
updateChildText | flag for whether to update the inner text of the child element |
containProtocol | flag for whether to contain protocol (e.g. https://) in the domain |
displayMethod | required, URL display method. method 1: breadcrumb format method 2: full URL method 3: full URL without protocol |
User-defined list of search engine instance URLs
Variable | Description |
---|---|
hosts | search engine's domain |
resultContainerSelectors | optional, set search result container DOM, to narrow down the range of dynamic observation |
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址