您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
计算 section.mw-pager-body 中特定的 li 元素
当前为
RosettaCode Conribution Records Counter
Recently, rosettacode has updated its domain name to rosettacode.miraheze.org
As far as I know, Extension Proxy Omega
or some tampermonkey script can not resolve url redirecting issue.
In the Chrome browser, to redirect all URLs from rosettacode.org
to rosettacode.miraheze.org
, you can use the Chrome extension because Chrome itself does not have built-in redirection functionality. Here are the specific steps:
**You should go the GitHub pgae to download Redirector
extension.
Configure redirection rules: -After installation is complete, click on the extension icon in the upper right corner of Chrome, select "Forwardor" or enter its settings through the "Extension" menu. -In the Forwarder interface, click on "Create new redirect" or similar options. -Configure the following rules:
Description: Any name, such as "RosettaCode Redirect".
Example URL: Enter an example URL, such ashttp://rosettacode.org/wiki/Example
.
Include pattern: Enter a regular expression to match all URLs of 'rosettacode. org', for example:
^(http|https)://rosettacode\.org/(.*)$
This matches the 'rosettacode. org' domain name starting with 'http://' or 'https://' and any path after it. -Rredirect to: Enter the target URL pattern, for example:
$1://rosettacode.miraheze.org/$2
Here, '$1' retains the protocol (http or https), while '$2' retains the original path.
http://rosettacode.org/wiki/Example
).
-The browser should automatically redirect to 'rosettacode. miraheze. org/wiki/Example'.
-If it does not take effect, check if the regular expression is correct or ensure that the extension is enabled.QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址