15楼#
发布于:2017-02-20 20:18
|
|
16楼#
发布于:2017-02-20 21:14
alanfly:的确可以。 // ==UserScript== // @name youku touch // @namespace m.youku@html5 // @description youku html5模拟触摸事件 // @include /^https?:\/\/m\.youku\.com\/video\/id.*$/ // @note aaaa007cn提供的代码 // @note https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events // @version 1.0 // @grant none // ==/UserScript== document.querySelector('div#x-video-button').addEventListener('click',()=>document.querySelector('div#x-video-button').dispatchEvent(new Event('touchend'))); 更新一下,支持https了,可以播放,暂停,无法全屏,切换手机ua无法暂停,使用重定向方便一些。配合文科发的脚本就不用禁用flash了 https://greasyfork.org/zh-CN/scripts/6668-navigator-plugins-spoofing 需要在脚本里加一行 // @include /^https?:\/\/m\.youku\.com\/video\/id.*$/ // ==UserScript== // @name navigator.plugins spoofing // @namespace aaaa007cn // @author aaaa007cn // @include http://play.baidu.com/* // @include http://fm.baidu.com/* // @include *://www.baidu.com/ // @include http://5sing.kugou.com/* // @include http://www.beiwo.ac/* // @include http://www.dongting.com/* // @include http://fm.dongting.com/* // @include http://www.duole.com/* // @include *://music.douban.com/* // @include http://papa.me/* // @include http://www.1ting.com/* // @include http://www.9ku.com/* // @include http://www.666ccc.com/* // @include http://www.yue365.com/* // @include http://music.163.com/* // @exclude http://music.163.com/demo/fm // @include http://dict.cn/* // @include http://www.webtoons.com/* // @include http://v.rongkuai.com/play.html?course_id=* // @include /^https?:\/\/m\.youku\.com\/video\/id.*$/ // @description 去除网站的flash插件检测,实现html5播放。 // @homepage https://www.firefox.net.cn/read-49979-1#read_341320 // @version 2.6 // @grant none // @run-at document-start // ==/UserScript== Object.defineProperty(navigator, 'plugins', { get: function () { return { length: 0 }; } }); BACK SPACE |
|
17楼#
发布于:2017-02-20 21:29
netweb:// ==UserScript==可以了,能暂停,左下角的按钮点下就可以切换播放暂停了。 |
|
18楼#
发布于:2017-02-20 23:26
|
|
19楼#
发布于:2017-02-20 23:35
|
|
20楼#
发布于:2017-02-21 01:04
|
|
|
21楼#
发布于:2017-02-21 02:34
请问,
奇怪已经转到m.youku.com去了,但是还是用flash播放的。。。 ![]() |
|
|
22楼#
发布于:2017-02-21 07:57
|
|
23楼#
发布于:2017-02-21 08:06
liuxb:请问,flash优先,见历史贴解决方案:【已解决】百度音乐播放不了音乐了 页面播放器 (图) - Powered by phpwind。 或者可以把ua切换到android。 |
|
24楼#
发布于:2017-02-21 08:11
|
|
25楼#
发布于:2017-02-21 09:23
|
|
|
26楼#
发布于:2017-02-21 10:18
|
|
27楼#
发布于:2017-02-21 10:18
|
|
28楼#
发布于:2017-02-21 10:19
还有个问题,这样的画质,相当于高清还是超清?
|
|
29楼#
发布于:2017-02-21 13:43
|
|