您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Redirects mobile (m.) sites to their desktop (www.) versions, with a special rule for Weibo detail pages.
Ever wondered why websites use different links for their mobile versions, leading to a cramped or ridiculous-looking layout on your desktop browser? This script solves that problem by automatically redirecting you to the proper desktop version.
你是否也曾感到困惑:“为什么要为手机端而使用不同的链接,导致电脑端以滑稽的方式显示内容?” 这个脚本会自动检测并重定向到体验更佳的桌面版页面,从而解决该问题。
Special Rule for Weibo:
It knows Weibo's mobile links (m.weibo.cn/detail/...
) are complex. It intelligently parses the page to find the correct desktop URL (weibo.com/.../...
) and takes you there directly.
针对微博的特别策略:
脚本知道微博的手机详情页链接结构很复杂。它会智能地分析页面内容,找出正确的桌面版链接并直接跳转。
Generic Rule for All Other Sites:
For any other site starting with m.
, it performs a standard redirect to the www.
version.
适用于其他网站的通用策略:
对于任何其他以 m.
开头的网站,脚本会执行标准的重定向,将 m.
替换为 www.
。
Please be aware that this script was generated by an AI assistant. For generic (non-Weibo) sites, the direct redirect may occasionally lead to a non-existent page (e.g., a 404 error).
请注意:本脚本由 AI 助手生成。对于通用(非微博)网站,脚本会进行直接跳转,这偶尔可能导致目标页面不存在(例如404错误)。
If you encounter such an issue, or find a site that needs a special rule like Weibo, please submit an issue on Greasy Fork镜像. You are also welcome to view the source code to add your own custom rules.
如果您遇到类似的问题,或发现某个网站有特殊的跳转规则,欢迎在 Greasy Fork镜像 上提交 issue。您也可以随时查看源码,添加自己的定制规则。
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址