// ==UserScript== // @name navigator.plugins spoofing // @namespace aaaa007cn // @author aaaa007cn // @include http://play.baidu.com/* // @include http://fm.baidu.com/* // @include http://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 http://music.douban.com/* // @include http://music.163.com/* // @exclude http://music.163.com/demo/fm // @description 去除网站的flash插件检测,实现html5播放。 // @homepage https://www.firefox.net.cn/read-49979-1#read_341320 // @version 1.7 // @grant none // @run-at document-start // @downloadURL none // ==/UserScript== Object.defineProperty(navigator, 'plugins', { get: function () { return { length: 0 }; } });