-
-
Save folarb/33235 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
CmdUtils.CreateCommand({ | |
name: "gmail", | |
icon: "http://i290.photobucket.com/albums/ll274/airpupil/gmail_icon.png", | |
author: { name: "Robert B****", email: "[email protected]"}, | |
description: "opens gmail inbox", | |
help: "enter 'gmail'and hit return to load the gmail inbox page", | |
preview: function( pblock ) { | |
pblock.innerHTML = "Opens gmail in a new tab, or in the current tab if it's empty."; | |
}, | |
execute: function() { | |
var url = "http://mail.google.com" | |
Utils.openUrlInBrowser(url); | |
} | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment