Greasy Fork is available in English.
阻止百度网盘wap版自动跳转到PC版网页(仅限Firefox浏览器有效)
< Rückmeldungen auf 阻止百度网盘wap版自动跳转
Firefox以外的浏览器可能会出现失效的情况,我测试了一下,多试上几次就会生效了(还有你访问的是http的网址,而不是https的吧?)
据说是因为chrome对油猴脚本的@document-start支持不好的原因:
The thing about Tampermonkey is that it can't guarantee that your script will run before the page's scripts when running at document-start because Chrome extensions aren't allowed to delay page loading. When your page consists of only a few lines of script, it's unlikey that Tampermonkey will run before the page script - sometimes it works, but most of the time it doesn't.
以及https://github.com/derjanb/tampermonkey/issues/211
因此这不是这个油猴脚本能解决的问题,Firefox以外的浏览器建议寻找其他更好的解决方法
原來是這樣,這真是太令人傷心了 orz
在 TM 下试了几个 wap 网址,有效并未跳转。你试的是什么网址?
Chrome 47.0.2526.35 not work.
不確定是不是我的哪個套件的問題
不過我沒裝其他跟百度有關或是 js 的套件
我用 Tampermonkey 加上 v1.1 裝完這個 js 之後進 yun 或 pan 都還是一樣會跳到 pc 頁面去...