Created
April 10, 2010 02:55
-
-
Save cers/361787 to your computer and use it in GitHub Desktop.
This file contains hidden or 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.makeSearchCommand({ | |
name: "Directory", | |
url: "http://www10.go.com.mt/edirnew_dev/modules/edir_checkquery.asp", | |
get postData() { | |
var query = this.__globalObject.noun_arb_text.split(","); | |
var data = {g_telephone:query[0]}; | |
if (query.length > 1) | |
data.g_surname = query[1]; | |
return data; | |
}, | |
parser: { | |
container: "center font font table tr", | |
title: "td:nth-child(4)", | |
body: "td:nth-child(6)", | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment