xinggsf / gm Goto Github PK
View Code? Open in Web Editor NEWGM javascript
GM javascript
bilibili的画质选择无效
2 small bugs:
一处include,两处require,不知道会不会有影响。好像我现在注意到的是没有这个的话,脚本在youtube页面不生效
@xinggsf 您好,我是在Edge上使用Tampermonkey并使用您这个脚本的。相关系统信息如下:
UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
Tampermonkey版本:V4.6.5757 Edge版
在您刚刚这次更新前的版本(0.79)在Edge上使用是基本没问题的(除了熊猫直播由于edge暂时不支持localstorage操作必须改用fakeua成chrome的方法),但是您更新的0.80版在edge上就不可用了(至少测试过斗鱼、熊猫),fakeua都没有应用成功,初步推测可能是对unsafewindow的操作上,edge和火狐/chrome不一样,更新把所有fakeua的操作都做到unsafewindow上了,造成了Edge无法使用。
另外,百度网盘虽然给了Edge默认是html5播放器,但视频是无法播放的并卡在静态画面,我不知道原因,麻烦您看下有没有什么解决办法。
tv和live频道没问题,就是*news.cctv.com地址播放器出现一下就消失,有声音
比如:
http://news.cctv.com/2019/07/25/ARTIhHf8yoKzxLRlGpm64QgU190725.shtml
http://m.news.cctv.com/2019/07/26/ARTIz6k8ijP3r1okfODikAVg190726.shtml
火狐68+TM
Chromium : 78.0.3904.87
Violentmonkey : v2.12.1
页面地址 : http://tv.cctv.com/2012/12/19/VIDE1355918475742338.shtml
视频播放还是用 Flash 播放器,不确定是否与带宽(3M)有关,简单设置 timeout 可解决
setTimeout(() => {
if (location.pathname.startsWith('/live/cctv')) new Live()
else new App().run()
}, 1500)
没详细测试,但是大约一个月之前,用firefox上qq音乐播放MV(y.qq.com ,脚本未包含此站点),默认给flash播放器,包含之后好像还是不给html5,改成mac的safari就行了。
另外我在自己的edge版fork里把现在的浏览器UA更新了一下,你看看要不要用(虽然应该没啥必要但万一有脑残玩意检测浏览器版本……)edge版和你的版本的差异我看还是那个const w=unsafewindow上,edge似乎不懂这句的意思,所以我把这句去掉,然后把用w的地方全改成window,直接拿你的代码可以用
我用火狐進去後還是需要FLASH
1、能否改进对任何网站都能解除限制。
2、经过自己改动代码能匹配任何域名后,测试发现有的网站,还是不能右键
3、另外,还发现一些网站,禁止打开devtools开发者工具,能否一起禁用掉?
网易公开课视频位置在右下角,而且没法全屏。不知道是脚本的问题吗
能否用脚本改到全站呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.