Hide VP9 support from YouTube

Hide VP9 support for Firefox. v0.2 2019-12-20

Author
Jefferson Scher
Daily installs
1
Total installs
212
Ratings
2 0 0
Version
0.2
Created
2018-10-27
Updated
2019-12-20
License
BSD-3-Clause
Applies to
This script for Tampermonkey or Violentmonkey (not working in Greasemonkey) simply lies to YouTube and says that Firefox does not support the VP9 codec via MediaSource extensions.

It is uses a simplified version of the code in this extension which has more options (but also blocks VP8 which may be needed by some people):

https://addons.mozilla.org/firefox/addon/h264ify/