mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
Only write the newtab URL if the machinery for it had previously been
initialized. This prevents the URL being overwritten with e.g. about:logopage.
This commit is contained in:
parent
f6f11db550
commit
2f3189f5a4
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
onunload="if (typeof gSecurityPane != 'undefined') gSecurityPane.syncAddonSecurityLevel();"
|
onunload="if (typeof gSecurityPane != 'undefined') gSecurityPane.syncAddonSecurityLevel();"
|
||||||
ondialogaccept="gNewtabUrl.writeNewtabUrl();">
|
ondialogaccept="if (typeof gTabsPane != 'undefined') gNewtabUrl.writeNewtabUrl();">
|
||||||
|
|
||||||
<script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
|
<script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
|
||||||
<script type="application/javascript" src="chrome://browser/content/preferences/newtaburl.js"/>
|
<script type="application/javascript" src="chrome://browser/content/preferences/newtaburl.js"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue