Hello, i just made a fun QR script "Any selection to QR"

5 views
Skip to first unread message

inde

unread,
Apr 17, 2011, 12:13:43 PM4/17/11
to ubiquity-firefox
/* INDE - Ubiquity - Kaywa Any Selection to QR code. */
CmdUtils.CreateCommand({
names: ["Q","QR","QR code","code"],
description: "Create a QR code",
help: "Redirects to http://qrcode.kaywa.com/ and allows your input
to be generated as qr image",
author: {
name: "Andreas Kalpakides",
email: "he...@inderesting.com",
homepage: "www.inderesting.com",
},
license: "GPL",
homepage: "http://ubiquity.mozilla.com/",
icon: "http://www.mozilla.com/favicon.ico",
arguments: [{role: "object", nountype: noun_arb_text, label:
"text"}],
execute: function execute(args){
Utils.openUrlInBrowser("http://qrcode.kaywa.com/img.php?s=6&d=" +
args.object.html);
},
preview: function preview(pblock, args) {
pblock.innerHTML = "This text will be made into QR code:" +
args.object.html.bold();
},
});
Reply all
Reply to author
Forward
0 new messages