Last active
December 8, 2015 22:58
-
-
Save tpenguinltg/7905e5bd600910675c48 to your computer and use it in GitHub Desktop.
Open blank tab next to current in Firefox/SeaMonkey
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
newTabIndex = gBrowser.tabContainer.selectedIndex + 1; | |
newTab = gBrowser.loadOneTab("about:blank", null, null, null, false, false); | |
gBrowser.moveTabTo(newTab, newTabIndex); | |
if (gURLBar) gURLBar.focus(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment