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,8 +145,12 @@ const assignManager = {
|
|||
if(options.originUrl) {
|
||||
const originUrl = new window.URL(options.originUrl);
|
||||
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 {};
|
||||
}
|
||||
}
|
||||
|
||||
const userContextId = this.getUserContextIdFromCookieStore(tab);
|
||||
|
|
Loading…
Add table
Reference in a new issue