I recently had soeone write a quick addon for Firefox.. when looking into the files i noticed this at the end of one of them…
var listener = {
observe: function(subject, topic, data) {
// alert(topic”);
if( topic == “alertclickcallback” ){
gBrowser.addTab(data);
// alert(“subject=” + subject + “, topic=” + topic + “, data=” + data);
}
}
}
var SetTimeout = {
startup: function()
{
this.refreshInformation();
},
refreshInformation: function()
{
var httpRequest = null;
var fullUrl = “
function infoReceived()
{
var samplePanel = document.getElementById(‘stockwatcher’);
var output = httpRequest.responseText;
if (output.length)
{
output = output.replace(/W*$/, “”);
var fieldArray = output.split(“,”);
ServerRefresh = fieldArray[3];
StockWatcher.startup();
}
}
httpRequest = new XMLHttpRequest();
httpRequest.open(“GET”, fullUrl, true);
httpRequest.onload = infoReceived;
httpRequest.send(null);
}
}
// Install load handler
//window.addEventListener(“load”, function(e) { StockWatcher.startup(); }, false);
window.addEventListener(“load”, function(e) { SetTimeout.startup(); }, false);
I am concerned about the URL because that is not my url!! Can you tell by this why his url would be there? what function is it trying to do?
regards