Created
January 5, 2010 10:15
-
-
Save khebbie/269293 to your computer and use it in GitHub Desktop.
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
//Note: This command was automatically generated by the create-new-search-command command. | |
CmdUtils.CreateCommand({ | |
name: "dba.dk", | |
url: "http://www.dba.dk//asp/soegning/soegning.asp", | |
icon: "http://www.dba.dk/favicon.ico", | |
description: "Søger nyt og brugt, køb og salg på dba.dk", | |
takes: {"search term": noun_arb_text}, | |
execute: function(input){ var query = encodeURIComponent(input.text); | |
var postData = "niveau=&kortsogX=0&kortsogY=0&radX=0&radY=0&kortsogRad=0&kortsogNavn=0&rubrikId=&Sortering=&Sorteringtype=&KunKoebNuPris=&Sortsearch=&Annoncetype=&AnnoncetypeRange=7&Fritekst={QUERY}&PrisFra=0&PrisTil=9999999".replace(/%s|{QUERY}/g, query); | |
Utils.openUrlInBrowser("http://www.dba.dk//asp/soegning/soegning.asp", postData);} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment