2

Using firefox greasemonkey or chrome tampermonkey, there are scripts that fake the window.navigator.plugins and window.navigator.mimeTypes. If you return undefined for those objects then most websites are fooled into thinking flash isn't installed even if it is there. Sites usually display message to install flash or start html5 player.

Youtube isn't tricked by userscript and still loads the flash player. How can you block youtube's flash detection?

Reference for faking navigator: How can I fool a site that looks at the JavaScript object 'navigator' to see that I'm not on Windows?

Community
  • 1
  • 1
  • You should at how youtube detects flash is installed, and fool it, if you can. – blue112 Aug 27 '13 at 08:37
  • 1
    I don't think SO is the appropriate place for such a question. But, as a courtesy, you can add `html5=1` to the youtube url to get HTML5 player, e.g. _http://www.youtube.com/watch?v=5-E_tikSXfc&html5=1_ – Aleks G Aug 27 '13 at 08:41
  • it is an appropriate place IMO given coding a js script is required – akostadinov Nov 17 '14 at 06:19

0 Answers0