I recently noticed that I was getting a Firefox infobar that mentioned that Firefox had prevented my site, http://sfl.x10host.com, from doing a page reload. I couldn't think of what my code was doing to cause a page reoad and looked at it carefully; but I couldn't find anything that would force a page to refresh. But when I went to the site and used Firebug to display the page before I cleared the infobar, I saw this:
This is _not_ code that I wrote or uploaded to X10. So how did it get there?
Is X10 adding it to my site? If so, why? Or is this some kind of third party messing with the code on the X10 servers, presumably against the wishes of X10?
Can anyone explain what's going on here?
Ideally, I'd like to keep this code from appearing when people go to my website. It seems likely to worry visitors that something shady is happening. But I may be able to live with it if someone can explain some good purpose that this code is accomplishing.
Can anyone enlighten me about this code?
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html>
<head>
<meta content="0.1" http-equiv="Refresh">
<meta content="no-cache" http-equiv="Pragma">
<meta content="-1" http-equiv="Expires">
<title></title>
<script type="text/javascript">
if (window.addEventListener) {
var callback_func = function(evt) {
if ('undefined' != typeof evt.target && "A" == evt.target.nodeName) {
var url = evt.target.href;
EBCallBackMessageReceivedd3763e0c_d5a0_4a2c_95f6_6d1ecf107360(url);
}
return true;
};
var cb_add_listener_result_click = window.addEventListener('click', callback_func, true);
var cb_add_listener_result_contextmenu = window.addEventListener('contextmenu', callback_func, true);
} else if (document.attachEvent) {
var callback_func = function () {
if ('undefined' != typeof event.srcElement &&'A' == event.srcElement.tagName) {
var url = event.srcElement.href;
EBCallBackMessageReceivedd3763e0c_d5a0_4a2c_95f6_6d1ecf107360(url);
}
return true;
};
var cb_add_listener_result_click = document.attachEvent('onclick', callback_func);
var cb_add_listener_result_contextmenu = document.attachEvent('oncontextmenu', callback_func);
}
</script>
</head>
<body>
<p> </p>
</body>
</html>
This is _not_ code that I wrote or uploaded to X10. So how did it get there?
Is X10 adding it to my site? If so, why? Or is this some kind of third party messing with the code on the X10 servers, presumably against the wishes of X10?
Can anyone explain what's going on here?
Ideally, I'd like to keep this code from appearing when people go to my website. It seems likely to worry visitors that something shady is happening. But I may be able to live with it if someone can explain some good purpose that this code is accomplishing.
Can anyone enlighten me about this code?