Created
November 22, 2016 02:32
-
-
Save undirectlookable/a5285c66198059bddd85dda76243cd04 to your computer and use it in GitHub Desktop.
在 Windows 系统中使用 HTML5 版的腾讯视频播放器 (userscript)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name QQVideo HTML5 | |
// @namespace http://v.qq.com/ | |
// @version 1.0 | |
// @description 在 Windows 系统中使用 HTML5 版的腾讯视频播放器 | |
// @author Anonymous | |
// @match *://v.qq.com/* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var win; | |
try { win = unsafeWindow; } catch (e) { win = window; } | |
win.navigator.__defineGetter__('userAgent', function () { | |
return 'Macintosh mac os x 10.12'; | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment