您需要先安装一个扩展,例如 篡改猴、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:
Redirector
extension.http://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.
-* * Redirect 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.
-Pattern type: Select 'Regular Expression'.
-* * Apply to * *: Check "Main window" and any other applicable options.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.