Skip to content

Instantly share code, notes, and snippets.

CmdUtils.CreateCommand({
names: ["pdf", "url2pdf"],
icon: "http://www.adobe.com/lib/com.adobe/template/icon/pdf.gif",
description: "Print web page to pdf.",
help: "Select a url then print it to pdf.",
author: {name: "Rafael Bezerra", email: "rafabn+ubiquity@gmail.com"},
license: "GPL",
homepage: "http://labs.mozilla.com/",
arguments: [{role: 'object', nountype: noun_arb_text}],
preview: function preview(pblock, args) {
CmdUtils.CreateCommand({
names: ["pdf", "url2pdf"],
icon: "http://www.adobe.com/lib/com.adobe/template/icon/pdf.gif",
description: "Print web page to pdf.",
help: "Select a url then print it to pdf.",
author: {name: "Rafael Bezerra", email: "rafabn+ubiquity@gmail.com"},
license: "GPL",
homepage: "http://labs.mozilla.com/",
arguments: [{role: 'object', nountype: noun_arb_text}],
preview: function preview(pblock, args) {
CmdUtils.CreateCommand({
names: ["pdf", "url2pdf"],
icon: "http://www.adobe.com/lib/com.adobe/template/icon/pdf.gif",
description: "Print web page to pdf.",
help: "Select a url then print it to pdf.",
author: {name: "Rafael Bezerra", email: "rafabn+ubiquity@gmail.com"},
license: "GPL",
homepage: "http://labs.mozilla.com/",
arguments: [{role: 'object', nountype: noun_arb_text}],
preview: function preview(pblock, args) {