open_in_new_tab.js
CmdUtils.CreateCommand({
name: "open_in_new_tab",
homepage: "http://pynej.blogspot.com/",
author: { name: "Jeremy Pyne", email: "jeremy.pyne@gmail.com"},
description: "Open the selected url in a new tab.",
takes: {"URL": noun_type_url},
preview: function( pblock, url ) {
pblock.innerHTML = "Will open: " + url.text;
},
execute: function( url ) {
Utils.openUrlInBrowser(url.text);
}
})
This blog is a collection of my various projects and computer related endeavors. Most of the posts deal with very specific issues/problems and solutions along with custom scripts, extensions, and various other subjects.
Monday, October 20, 2008
Ubiquity Command: Open in New Tab
Here is a Ubiquity script to open a link in a new tab.
Labels:
Extensions,
Programming,
Ubiquity
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment