Hide All Plugins

Shows empty navigator.plugins and navigator.mimeTypes collections to selected websites

  1. // ==UserScript==
  2. // @name Hide All Plugins
  3. // @description Shows empty navigator.plugins and navigator.mimeTypes collections to selected websites
  4. // @author Jefferson "jscher2000" Scher
  5. // @namespace JeffersonScher
  6. // @copyright Copyright 2016 Jefferson Scher
  7. // @license BSD 3-clause
  8. // @include http://www.jeffersonscher.com/res/plugins.html
  9. // @include http://video.gazzetta.it/*
  10. // @version 0.5
  11. // @grant none
  12. // @run-at document-start
  13. // ==/UserScript==
  14. // See: https://github.com/dillbyrne/random-agent-spoofer/issues/283#issuecomment-163059386
  15. Object.defineProperty(navigator, "plugins", {value: []});
  16. Object.defineProperty(navigator, "mimeTypes", {value: []});