Created
October 8, 2009 11:29
-
-
Save ba3r/204959 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
/* Davos Vote */ | |
CmdUtils.CreateCommand({ | |
names: ["davos"], | |
icon: "chrome://ubiquity/skin/icons/youtube.ico", | |
description: "Vote", | |
help: "Just vote.", | |
author: {name: "Michael", homepage: "http://twitter.com/synapsos"}, | |
license: "GPL", | |
homepage: "http://youtube.com/davos", | |
preview: function preview(pblock) { | |
var msg = "<iframe width='500' height='300' src='http://www.gmodules.com/gadgets/ifr?url=http://www.google.com/reviews/polls/v2/contest/user/thedavosquestion2/gadgetfw.xml'>davos</iframe>" ; | |
pblock.innerHTML = msg ; | |
}, | |
execute: function execute(args) { | |
Utils.openUrlInBrowser( "http://youtube.com/davos" ); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment