Remember that forked tabs are okay with the page's unnatural containment.
This commit is contained in:
parent
fb7c6355d0
commit
2efb4a672e
1 changed files with 5 additions and 1 deletions
|
@ -145,9 +145,13 @@ const assignManager = {
|
||||||
if(options.originUrl) {
|
if(options.originUrl) {
|
||||||
const originUrl = new window.URL(options.originUrl);
|
const originUrl = new window.URL(options.originUrl);
|
||||||
const newUrl = new window.URL(options.url);
|
const newUrl = new window.URL(options.url);
|
||||||
if(originUrl.hostname === newUrl.hostname)
|
if(originUrl.hostname === newUrl.hostname) {
|
||||||
|
// in fact, set this URL-tab combo exempted so future manual browsing
|
||||||
|
// within it does also not trigger new prompts
|
||||||
|
this.storageArea.setExempted(options.url, options.tabId);
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const userContextId = this.getUserContextIdFromCookieStore(tab);
|
const userContextId = this.getUserContextIdFromCookieStore(tab);
|
||||||
if (!siteSettings
|
if (!siteSettings
|
||||||
|
|
Loading…
Add table
Reference in a new issue