Open New Tab in Foreground (Link)
This simply combines "New Tab" and "Open Link In New Foreground Tab" so a new tab is created in the foreground that opens to a link, if one was selected, or just simply a new tab if no link was used (default "new tab" behavior).
Runs in:
the target frameScript:
var link = MS.initevt.target.href;
if(link)
{
MS.apis.tabs.create({
url: link,
selected: true
});
}
else
{
MS.apis.tabs.create({
selected: true
});
}

Comments
Post new comment