/    Sign up×
Community /Pin to ProfileBookmark

Should I be worried??

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 = “http://zzini.caellestia.com/ninorac/status.php“;

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

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@adworldauthorDec 14.2009 — Bump. Sorry I am not a coder. Any help would be greatly appreaciated. Regards
Copy linkTweet thisAlerts:
@JMRKERDec 14.2009 — Sort of depends on what the 'addon' was supposed to do.

If it was to add a "stock watcher" and you see the display, then I would think all is OK. ?

If not, then check with the "friend" and ask "what the .... is going on here?". :eek:

Good Luck! ?
×

Success!

Help @adworld spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...