mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 13:58:49 +00:00
Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage"
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user