navigator.plugins spoofing

去除网站的flash插件检测,实现html5播放。

当前为 2015-02-03 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name navigator.plugins spoofing
  3. // @namespace aaaa007cn
  4. // @author aaaa007cn
  5. // @include http://play.baidu.com/*
  6. // @include http://fm.baidu.com/*
  7. // @include http://www.baidu.com/
  8. // @include http://5sing.kugou.com/*
  9. // @include http://www.beiwo.ac/*
  10. // @include http://www.dongting.com/*
  11. // @include http://fm.dongting.com/*
  12. // @include http://www.duole.com/*
  13. // @include http://music.douban.com/*
  14. // @include http://music.163.com/*
  15. // @exclude http://music.163.com/demo/fm
  16. // @description 去除网站的flash插件检测,实现html5播放。
  17. // @homepage https://www.firefox.net.cn/read-49979-1#read_341320
  18. // @version 1.7
  19. // @grant none
  20. // @run-at document-start
  21. // ==/UserScript==
  22. Object.defineProperty(navigator, 'plugins', {
  23. get: function () {
  24. return { length: 0 };
  25. }
  26. });

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址