|
Script Summary:
HttpRequest Function Version: 1.0.0.2 Copyright: 2009, w35l3y (http://gm.wesley.eti.br/includes) License: GNU GPL |
this script has 2 topics, 4 posts |
This script has no reviews. |
Implementing
// @require http://userscripts.org/scripts/source/56489.user.js
Examples
HttpRequest.open({
"method":"get",
"url":"www.google.com",
"onsuccess":function(params) // don't confuse "onsuccess" and "onload"! "onload" doesn't exist here
{
alert(params.response.text); // raw, text, xml, json
}
}).send();




