Skip to content

Instantly share code, notes, and snippets.

@vingran vingran/allocine.js
Created Mar 3, 2009

What would you like to do?
/*Commande pour la recherche Allociné*/
names: ['allocine'],
icon: "",
homepage: "",
author: { name: "v!ngran", email: ""},
license: "GPL",
description: "Recherche sur le site d'Allociné",
arguments: [ {role: 'object', nountype: noun_arb_text, label: 'search term'}],
preview: function( pblock, input ) {
var template = "Rechercher <b>${name}</b> sur";
pblock.innerHTML = CmdUtils.renderTemplate(template, {"name": input.object.text});
execute: function(input) {
Utils.openUrlInBrowser(""+input.object.text, false);
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.