Skip to content

Instantly share code, notes, and snippets.

@w00binda w00binda/x
Created Feb 26, 2009

Embed
What would you like to do?
Cerca nel dizionario De Mauro Paravia
makeSearchCommand({
name: "demauro",
author: {name: "w00binda", homepage: "http://linuxiana.blogspot.com"},
license: "GPL",
url: "http://old.demauroparavia.it/_{QUERY}",
icon: "http://old.demauroparavia.it/favicon.ico",
description: "Cerca un lemma sul dizionario online <a href=\"http://old.demauroparavia.it\">De Mauro Paravia</a>",
preview: function( pblock, directObject )
{
if (!directObject.text || directObject.text.length < 1) {
pblock.innerHTML = "Cerca una definizione";
return;
}
pblock.innerHTML = "Cerca la definizione di <i>" + directObject.text + "</i>";
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.