mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +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;
|
||||
}
|
||||
|
||||
if (buf.EqualsLiteral("blank") || buf.EqualsLiteral("newtab")) {
|
||||
if (buf.EqualsLiteral("blank") || buf.EqualsLiteral("logopage")
|
||||
#ifndef MC_PALEMOON
|
||||
|| buf.EqualsLiteral("newtab")
|
||||
#endif
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue