Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
QR-Code generator ubiquity commnd
names: ['qr code', 'encode'],
icon: "",
description: "Generates QR Code image based on selected url",
argument: noun_type_url,
preview: function(pBlock, {object}) {
pBlock.innerHTML = '<img src="' + '' + escape(object.text) + '" />';
execute: function(args) {
Utils.openUrlInBrowser('' + escape(args.object.text));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment