navigator.plugins spoofing

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

目前为 2015-01-10 提交的版本。查看 最新版本

  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://music.163.com/*
  13. // @exclude http://music.163.com/demo/fm
  14. // @description 去除网站的flash插件检测,实现html5播放。
  15. // @homepage https://www.firefox.net.cn/read-49979-1#read_341320
  16. // @version 1.5
  17. // @grant none
  18. // @run-at document-start
  19. // ==/UserScript==
  20. Object.defineProperty(navigator, 'plugins', {
  21. get: function () {
  22. return { length: 0 };
  23. }
  24. });

QingJ © 2025

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