mirror of
https://github.com/arkenfox/user.js.git
synced 2025-02-23 02:43:56 +00:00
standardize cross origin/domain
This commit is contained in:
parent
3b52557143
commit
2cf20c56a7
8
user.js
8
user.js
@ -581,11 +581,11 @@ user_pref("gfx.font_rendering.opentype_svg.enabled", false);
|
|||||||
[1] https://feeding.cloud.geek.nz/posts/tweaking-referrer-for-privacy-in-firefox/
|
[1] https://feeding.cloud.geek.nz/posts/tweaking-referrer-for-privacy-in-firefox/
|
||||||
***/
|
***/
|
||||||
user_pref("_user.js.parrot", "1600 syntax error: the parrot rests in peace!");
|
user_pref("_user.js.parrot", "1600 syntax error: the parrot rests in peace!");
|
||||||
/* 1601: control when to send a cross origin referer
|
/* 1601: control when to send a cross-origin referer
|
||||||
* 0=always (default), 1=only if base domains match, 2=only if hosts match
|
* 0=always (default), 1=only if base domains match, 2=only if hosts match
|
||||||
* [SETUP-WEB] Known to cause issues with older modems/routers and some sites e.g vimeo, icloud, instagram ***/
|
* [SETUP-WEB] Known to cause issues with older modems/routers and some sites e.g vimeo, icloud, instagram ***/
|
||||||
user_pref("network.http.referer.XOriginPolicy", 2);
|
user_pref("network.http.referer.XOriginPolicy", 2);
|
||||||
/* 1602: control the amount of cross origin information to send [FF52+]
|
/* 1602: control the amount of cross-origin information to send [FF52+]
|
||||||
* 0=send full URI (default), 1=scheme+host+port+path, 2=scheme+host+port ***/
|
* 0=send full URI (default), 1=scheme+host+port+path, 2=scheme+host+port ***/
|
||||||
user_pref("network.http.referer.XOriginTrimmingPolicy", 2);
|
user_pref("network.http.referer.XOriginTrimmingPolicy", 2);
|
||||||
/* 1603: enable the DNT (Do Not Track) HTTP header
|
/* 1603: enable the DNT (Do Not Track) HTTP header
|
||||||
@ -960,7 +960,7 @@ user_pref("privacy.sanitize.timeSpan", 0);
|
|||||||
***/
|
***/
|
||||||
user_pref("_user.js.parrot", "4000 syntax error: the parrot's pegged out");
|
user_pref("_user.js.parrot", "4000 syntax error: the parrot's pegged out");
|
||||||
/* 4001: enable First Party Isolation [FF51+]
|
/* 4001: enable First Party Isolation [FF51+]
|
||||||
* [SETUP-WEB] Will break most cross-domain logins
|
* [SETUP-WEB] Breaks some cross-origin logins
|
||||||
* [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1260931,1299996 ***/
|
* [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1260931,1299996 ***/
|
||||||
user_pref("privacy.firstparty.isolate", true);
|
user_pref("privacy.firstparty.isolate", true);
|
||||||
/* 4002: enforce FPI restriction for window.opener [FF54+]
|
/* 4002: enforce FPI restriction for window.opener [FF54+]
|
||||||
@ -1261,7 +1261,7 @@ user_pref("_user.js.parrot", "7000 syntax error: the parrot's pushing up daisies
|
|||||||
// user_pref("dom.securecontext.whitelist_onions", true); // 1382359
|
// user_pref("dom.securecontext.whitelist_onions", true); // 1382359
|
||||||
// user_pref("network.http.referer.hideOnionSource", true); // 1305144
|
// user_pref("network.http.referer.hideOnionSource", true); // 1305144
|
||||||
/* 7007: referers
|
/* 7007: referers
|
||||||
* [WHY] Only cross origin referers (1600s) need control ***/
|
* [WHY] Only cross-origin referers (1600s) need control ***/
|
||||||
// user_pref("network.http.sendRefererHeader", 2);
|
// user_pref("network.http.sendRefererHeader", 2);
|
||||||
// user_pref("network.http.referer.trimmingPolicy", 0);
|
// user_pref("network.http.referer.trimmingPolicy", 0);
|
||||||
/* 7008: set the default Referrer Policy [FF59+]
|
/* 7008: set the default Referrer Policy [FF59+]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user