Revert "Issue #756 - Remove Contextual Identity References from Pale Moon"

This reverts commit 9cdfabaf57.
This commit is contained in:
Roy Tam 2019-04-04 19:35:53 +08:00
commit 4d4a6085d0
4 changed files with 27 additions and 7 deletions

View file

@ -5338,6 +5338,9 @@ function handleDroppedLink(event, urlOrLinks, name)
let lastLocationChange = gBrowser.selectedBrowser.lastLocationChange;
let userContextId = gBrowser.selectedBrowser
.getAttribute("usercontextid") || 0;
let inBackground = Services.prefs.getBoolPref("browser.tabs.loadInBackground");
if (event.shiftKey)
inBackground = !inBackground;
@ -5356,6 +5359,7 @@ function handleDroppedLink(event, urlOrLinks, name)
replace: true,
allowThirdPartyFixup: false,
postDatas,
userContextId,
});
}
});