I am troubled without understanding the method of the outside request by the Firefox adding on.
Thanking you in advance.
I am troubled without understanding the method of the outside request by the Firefox adding on.
Thanking you in advance.
The Firefox Addons Development Guide should answer your questions about Firefox add-ons. Also see the Mozilla Extensions documentation.
The question is not very clear, but if you are looking for something like an HTTPRequest in a Firefox Addon, the following code snippet may help you.
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "http://www.sitetorequest.com",true);
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4) {
alert(xmlhttp.responseText);
Your Code here...
}
}
xmlhttp.send(null)