JS command for new tab

Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team
Post Reply
ocwil
Posts: 29
Joined: Sat Oct 10, 2009 6:59 pm

JS command for new tab

Post by ocwil » Wed Oct 28, 2009 9:45 pm

hello

use this js command if you need a new tab in FF

since ff has scrambled up tab counter
this comes in really handy

Code: Select all

//this will open a empty tab and center to it so its like
in imacros:
tab open
tab= (the new tab)
url goto=url
in JS:
gBrowser.selectedTab = gBrowser.addTab("url");
this was posted some where else but i also post it here since it applies for FF
and so it's easyer to find

:fingerscrossed: hope it gets stickie :fingerscrossed:
Hannes, Tech Support

Re: JS command for new tab

Post by Hannes, Tech Support » Thu Oct 29, 2009 8:32 am

Thanks for sharing!
ocwil
Posts: 29
Joined: Sat Oct 10, 2009 6:59 pm

Re: JS command for new tab

Post by ocwil » Sat Oct 31, 2009 1:44 pm

shouldnt this be at top of page?
since it now just waters down the list...
OR
will you tell ppl about this when they ask
Hannes, Tech Support

Re: JS command for new tab

Post by Hannes, Tech Support » Mon Nov 02, 2009 12:25 pm

Even better: we put it into a newly created subforum dedicated to Firefox/JavaScript Examples.
Post Reply