user.js icon indicating copy to clipboard operation
user.js copied to clipboard

discussion: move 2025 media types to personal section

Open Thorin-II opened this issue 9 years ago • 5 comments

This section IMO doesn't really belong in the main js, which is meant to be for privacy, security, FP'ing tweaks. I originally added webm as the default differed (but not any more) and I wanted to view them occasionally. Then feature creep happened - partly because of the changes and migration on the web from flash to html5 (I wanted to make sure all the youtube boxes came up ticked, so users can ditch flash more comfortably), and now it's expanded to include flac and so on. It ended up under the "media" section over the course of it's lifespan so far. I think it's still good information to have, but I see no security issues here.

In FF52 the defaults for all are true, so we differ on 5 of them. Is this FP'able in any way? Does it really matter?

/* currently as in the user.js ***/
/* 2025: enable/disable various media types [SETUP] ***/
user_pref("media.mp4.enabled", true);
user_pref("media.flac.enabled", true); // (FF51+)
user_pref("media.ogg.enabled", false);
user_pref("media.ogg.flac.enabled", false); // (FF51+)
user_pref("media.opus.enabled", false);
user_pref("media.raw.enabled", false);
user_pref("media.wave.enabled", false);
user_pref("media.webm.enabled", true);
user_pref("media.wmf.enabled", true); // https://www.youtube.com/html5 - for the two H.264 entries

I propose setting the lot to true, commenting them all out, and moving to the personal section. At the very least, this removes ambiguity over privacy/security concerns, and reduces any possible breakage.

Thorin-II avatar Mar 23 '17 03:03 Thorin-II

IMO we can leave these prefs as FF52's default, all true.

2glops avatar Mar 23 '17 09:03 2glops

If there is no other issues, I am voting for default also.

crssi avatar Mar 23 '17 09:03 crssi

[...] setting the lot to true, commenting them all out, and moving to the personal section

I agree. Moreover that besides personal considerations untied to privacy and security (as far as I know) I see no reason for disabling these settings, so left as default (true) and commented out seems pertinent, leaving the information raw for a user who might have his reasons to disable one or another.

Generally speaking, and this is my very personal approach, a work such as this one, that is to summarize and detail all available settings (hidden included) in Firefox's about:config, could point to only privacy and security settings. Going ahead of those means an increased amount of work for the developers, possible confusion for the user (commented out is understood as referring to either a problematic pro/con setting either to a cosmetic/practical setting not related to privacy/security) but nevertheless valuable information for "diggers" who have then an "encyclopedia" of settings, be they security/privacy related or not. IMO, privacy/security settings only is the best approach. Hence, in this example, simply removing the above from the user.js list would be far better. Otherwise we may lead to a bloated user.js ...

ghost avatar Mar 23 '17 10:03 ghost

it makes more sense to set them all to FALSE and comment them out. Otherwise we might as well remove them all together.

re: security - there have been exploitable flaws in the past in some media formats fe. see here. But they are probably way too hard to find and exploit for most "attackers". On linux (and mac?) there's maybe more of a risk because flaws in FFmpeg are likely easier to find. I'm not aware that the CIA's Vault7 leaks made any mention of media format exploits but we'll only know for sure once those exploits are made public, if ever. So I'd agree the risk is atm slim to none with keeping FF's default values. I personally will probably never need the raw and wave formats for example, so I'll keep those disabled.

re: FP - the fact that the youtube HTML5 page can detect which formats you support without even loading a video is a pretty clear indicator that it can be fingerprinted.

Does it really matter?

probably not - we're already easily fingerprinted and I'm okay with whatever you guys want to do with it

earthlng avatar Mar 23 '17 12:03 earthlng

re: FP - the fact that the youtube HTML5 page can detect which formats you support without even loading a video is a pretty clear indicator that it can be fingerprinted.

In that case should be set to default or even better, as @earthlng proposed to comment them out, since it will lower entropy, as far as FP is concerned. I don't have a personal opinion on security part, yet. I know FP resistance is a bit futile, but I don't have government grade FP in mind... just want to make a "noise" to commercial ADV databases.

crssi avatar Mar 23 '17 12:03 crssi