Redirector Rules

来自Tsetien’s Wiki
Tsetien Chü留言 | 贡献114年7月18日 (五) 08:14的版本 Force Wikimedia sites to use Vector 2010
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索

Google Logo Replacement

NB
This rule is no longer effective since 114-04-18, an alternate userscript solution is provided here.
Description: Google Logo Replacement
Example URL: https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png
Include pattern: https://www.google.com/images/branding/googlelogo/*.png
Redirect to: https://upload.wikimedia.org/wikipedia/commons/c/c9/Google_logo_%282013-2015%29.svg
Pattern type: ▣ Wildcard    Regular Expression
Pattern Description: Replace Google Logo with 2013–2015 version.
Example result: https://upload.wikimedia.org/wikipedia/commons/c/c9/Google_logo_%282013-2015%29.svg
Hide advanced options...
Exclude pattern: Pattern to exclude certain urls from the redirection
Process matches: No Processing Use matches as they are
Apply to: Images
Responsive Images in Firefox

Google Search without AI

Description: Google Search without AI
Example URL: https://www.google.com/search?q=test
Include pattern: ^(http[s]?://)([a-z0-9-\.]*?)google\.([a-z0-9-\.]*?)\/search\?(.*?)$
Redirect to: $1$2google.$3/search?udm=14&$4
Pattern type: Wildcard   ▣ Regular Expression
Pattern Description: Append &udm=14 to Google Search links to prevent AI shits from appearing.
Example result: https://www.google.com/search?udm=14&q=test
Hide advanced options...
Exclude pattern: Pattern to exclude certain urls from the redirection
Process matches: No Processing Use matches as they are
Apply to: Main window (address bar)

Force Wikimedia sites to use Vector 2010

Description: Vector 2010 Pt 1
Example URL: https://en.wikipedia.org/wiki/Main_Page
Include pattern: ^(http[s]?://)([a-z0-9-]*\.)((media)?wik[i]?([a-gikm-wy]{4,9})?)\.org/([^?#]+)(#.*)?$
Redirect to: $1$2$3.org/$6?useskin=vector$7
Pattern type: Wildcard   ▣ Regular Expression
Pattern Description: Force Wikimedia sites to use Vector (legacy) Pt 1
Example result: https://en.wikipedia.org/wiki/Main_Page?useskin=vector
Hide advanced options...
Exclude pattern: Pattern to exclude certain urls from the redirection
Process matches: No Processing Use matches as they are
Apply to: Main window (address bar)

Description: Vector 2010 Pt 2
Example URL: https://en.wikipedia.org/w/index.php?title=Main_Page&action=history
Include pattern: ^(http[s]?://)([a-z0-9-]*\.)((media)?wik[i]?([a-gikm-wy]{4,9})?)\.org/((?!.*[?&]useskin=vector)[^#]+\?[^#]+)(#.*)?$
Redirect to: $1$2$3.org/$6&useskin=vector$7
Pattern type: Wildcard   ▣ Regular Expression
Pattern Description: Force Wikimedia sites to use Vector (legacy) Pt 2
Example result: https://en.wikipedia.org/w/index.php?title=Main_Page&action=history&useskin=vector
Hide advanced options...
Exclude pattern: Pattern to exclude certain urls from the redirection
Process matches: No Processing Use matches as they are
Apply to: Main window (address bar)