30楼#
发布于:2017-02-21 10:18
|
|
31楼#
发布于:2017-02-21 10:18
|
|
32楼#
发布于:2017-02-21 09:23
|
|
|
33楼#
发布于:2017-02-21 08:11
|
|
34楼#
发布于:2017-02-21 08:06
liuxb:请问,flash优先,见历史贴解决方案:【已解决】百度音乐播放不了音乐了 页面播放器 (图) - Powered by phpwind。 或者可以把ua切换到android。 |
|
35楼#
发布于:2017-02-21 07:57
|
|
36楼#
发布于:2017-02-21 02:34
请问,
奇怪已经转到m.youku.com去了,但是还是用flash播放的。。。 |
|
|
37楼#
发布于:2017-02-21 01:04
|
|
|
38楼#
发布于:2017-02-20 23:35
|
|
39楼#
发布于:2017-02-20 23:26
|
|
40楼#
发布于:2017-02-20 21:29
netweb:// ==UserScript==可以了,能暂停,左下角的按钮点下就可以切换播放暂停了。 |
|
41楼#
发布于: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 |
|
42楼#
发布于:2017-02-20 20:18
|
|
43楼#
发布于:2017-02-20 20:06
STR
0. 默认 UA 1. 打开任意 youku 视频 2. 地址栏替换 v.youku.com/v_show/ 为 m.youku.com/video/ 后回车 3. 页面加载完毕后 F12 或者 ctrl+shift+k 打开 web console 4. 复制那一句代码,回车。web console 回显 undefined,不报错 5. 点击播放按钮 这就是个 POC 仅仅实现了点击播放按钮让它可以开始播放而已 用来演示不管浏览器是否支持 touch 相关事件 都可以直接生成对应 event 去触发已安装的 callback 改成油猴脚本也可以 请自行改动 |
|
|
44楼#
发布于:2017-02-20 09:23
|
|