mirror of
https://github.com/arkenfox/user.js.git
synced 2025-04-29 21:43:36 +02:00
move DRM to optional hardening #1707
This commit is contained in:
parent
486a14646a
commit
97b3f4ed7a
1 changed files with 8 additions and 9 deletions
17
user.js
17
user.js
|
@ -1,6 +1,6 @@
|
|||
/******
|
||||
* name: arkenfox user.js
|
||||
* date: 26 August 2023
|
||||
* date: 29 August 2023
|
||||
* version: 116
|
||||
* url: https://github.com/arkenfox/user.js
|
||||
* license: MIT: https://github.com/arkenfox/user.js/blob/master/LICENSE.txt
|
||||
|
@ -571,14 +571,6 @@ user_pref("media.peerconnection.ice.default_address_only", true);
|
|||
/* 2020: disable GMP (Gecko Media Plugins)
|
||||
* [1] https://wiki.mozilla.org/GeckoMediaPlugins ***/
|
||||
// user_pref("media.gmp-provider.enabled", false);
|
||||
/* 2022: disable all DRM content (EME: Encryption Media Extension)
|
||||
* Optionally hide the setting which also disables the DRM prompt
|
||||
* [SETUP-WEB] e.g. Netflix, Amazon Prime, Hulu, HBO, Disney+, Showtime, Starz, DirectTV
|
||||
* [SETTING] General>DRM Content>Play DRM-controlled content
|
||||
* [TEST] https://bitmovin.com/demos/drm
|
||||
* [1] https://www.eff.org/deeplinks/2017/10/drms-dead-canary-how-we-just-lost-web-what-we-learned-it-and-what-we-need-do-next ***/
|
||||
user_pref("media.eme.enabled", false);
|
||||
// user_pref("browser.eme.ui.enabled", false);
|
||||
|
||||
/*** [SECTION 2400]: DOM (DOCUMENT OBJECT MODEL) ***/
|
||||
user_pref("_user.js.parrot", "2400 syntax error: the parrot's kicked the bucket!");
|
||||
|
@ -984,6 +976,13 @@ user_pref("_user.js.parrot", "5500 syntax error: this is an ex-parrot!");
|
|||
// user_pref("javascript.options.wasm", false);
|
||||
/* 5507: disable rendering of SVG OpenType fonts ***/
|
||||
// user_pref("gfx.font_rendering.opentype_svg.enabled", false);
|
||||
/* 5508: disable all DRM content (EME: Encryption Media Extension)
|
||||
* Optionally hide the UI setting which also disables the DRM prompt
|
||||
* [SETTING] General>DRM Content>Play DRM-controlled content
|
||||
* [TEST] https://bitmovin.com/demos/drm
|
||||
* [1] https://www.eff.org/deeplinks/2017/10/drms-dead-canary-how-we-just-lost-web-what-we-learned-it-and-what-we-need-do-next ***/
|
||||
// user_pref("media.eme.enabled", false);
|
||||
// user_pref("browser.eme.ui.enabled", false);
|
||||
|
||||
/*** [SECTION 6000]: DON'T TOUCH ***/
|
||||
user_pref("_user.js.parrot", "6000 syntax error: the parrot's 'istory!");
|
||||
|
|
Loading…
Add table
Reference in a new issue