mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 23:37:31 +09:00
Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage"
This commit is contained in:
parent
1c7dbcfb7c
commit
a4755ad177
1 changed files with 5 additions and 1 deletions
|
|
@ -12281,7 +12281,11 @@ nsDocShell::ShouldAddToSessionHistory(nsIURI* aURI)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (buf.EqualsLiteral("blank") || buf.EqualsLiteral("newtab")) {
|
if (buf.EqualsLiteral("blank") || buf.EqualsLiteral("logopage")
|
||||||
|
#ifndef MC_PALEMOON
|
||||||
|
|| buf.EqualsLiteral("newtab")
|
||||||
|
#endif
|
||||||
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue