diff --git a/application/basilisk/app/profile/basilisk.js b/application/basilisk/app/profile/basilisk.js index 4700eac449..24f1c582cc 100644 --- a/application/basilisk/app/profile/basilisk.js +++ b/application/basilisk/app/profile/basilisk.js @@ -1293,6 +1293,17 @@ pref("privacy.trackingprotection.ui.enabled", true); pref("privacy.trackingprotection.ui.enabled", false); #endif +// Enable Contextual Identity Containers +#ifdef NIGHTLY_BUILD +pref("privacy.userContext.enabled", true); +pref("privacy.userContext.ui.enabled", true); +pref("privacy.usercontext.about_newtab_segregation.enabled", true); +#else +pref("privacy.userContext.enabled", false); +pref("privacy.userContext.ui.enabled", false); +pref("privacy.usercontext.about_newtab_segregation.enabled", false); +#endif + #ifndef RELEASE_OR_BETA // At the moment, autostart.2 is used, while autostart.1 is unused. // We leave it here set to false to reset users' defaults and allow diff --git a/application/basilisk/base/content/browser-context.inc b/application/basilisk/base/content/browser-context.inc index 2f6b19da07..36e0478af6 100644 --- a/application/basilisk/base/content/browser-context.inc +++ b/application/basilisk/base/content/browser-context.inc @@ -51,11 +51,23 @@ label="&openLinkCmdInCurrent.label;" accesskey="&openLinkCmdInCurrent.accesskey;" oncommand="gContextMenu.openLinkInCurrent();"/> -# label is dynamically set. +# label and data-usercontextid are dynamically set. + + data-usercontextid="0" + oncommand="gContextMenu.openLinkInTab(event);"/> + +