Created
December 25, 2008 21:12
-
-
Save winkerVSbecks/39953 to your computer and use it in GitHub Desktop.
mff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.CreateCommand({ | |
name: "mff", | |
author: { name: "winker" }, | |
description: "Search matches on mff.", | |
help: "<b>match:</b> mff <i>team vs team</i>", | |
icon: "http://builtwith.com/IMG/FAV/Fbtz.com.ico", | |
takes: {"team vs team": noun_arb_text}, | |
//modifiers: {"mostrar": noun_arb_text}, | |
preview: function(pBlock, campo, mods) { | |
var busqueda = campo.text; | |
//var mostrar = mods.mostrar.text; | |
if( busqueda == "" ) | |
busqueda = "un usuario"; | |
pBlock.innerHTML = "Search matches on Fbtz.com " + busqueda + " en Last.FM."; | |
if(campo.text.length < 1) | |
return; | |
extraer_pistas(pBlock, busqueda); | |
}, | |
execute: function( campo ) { | |
var perfil = "http://63.247.68.125/forum/search.php?do=process" + campo.text; | |
Utils.openUrlInBrowser(perfil); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment