navigator.plugins spoofing

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

当前为 2016-12-06 提交的版本,查看 最新版本

  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 *://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 *://music.douban.com/*
  14. // @include http://papa.me/*
  15. // @include http://www.1ting.com/*
  16. // @include http://www.9ku.com/*
  17. // @include http://www.666ccc.com/*
  18. // @include http://www.yue365.com/*
  19. // @include http://music.163.com/*
  20. // @exclude http://music.163.com/demo/fm
  21. // @include http://dict.cn/*
  22. // @include http://www.webtoons.com/*
  23. // @include http://v.rongkuai.com/play.html?course_id=*
  24. // @description 去除网站的flash插件检测,实现html5播放。
  25. // @homepage https://www.firefox.net.cn/read-49979-1#read_341320
  26. // @version 2.6
  27. // @grant none
  28. // @run-at document-start
  29. // ==/UserScript==
  30. Object.defineProperty(navigator, 'plugins', {
  31. get: function () {
  32. return { length: 0 };
  33. }
  34. });

QingJ © 2025

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