Redirect cnbeta

重定向cnbeta桌面版网页到移动版

当前为 2020-10-16 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Redirect cnbeta
  3. // @namespace http://domain.com/directory
  4. // @description 重定向cnbeta桌面版网页到移动版
  5. // @include https://*.cnbeta.com/articles/*/*
  6. // @version 0.0.1.20201016114125
  7. // ==/UserScript==
  8.  
  9.  
  10.  
  11.  
  12. var plainPath = location.pathname.replace (/\/articles\/[\S]*\//, "")
  13.  
  14. location.replace("https://m.cnbeta.com/view/" + plainPath)
  15.  

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址