Jump to content

Kerio Firewall


PC-fre@k
 Share

Recommended Posts

Moet je dit zien:

[code]<!-- Kerio Popup Killer - script has been inserted by KPF -->
<script type="text/javascript">
<!--
var NoPopupsDone = 0;var CurrWindowOpen = window.open;var CurrWindowOpen2 = window.open;var orig_setTimeout = window.setTimeout;var orig_setInterval = window.setInterval;if ( window.showModelessDialog ) { var orig_showModelessDialog = window.showModelessDialog;} if ( window.showModalDialog ) { var orig_showModalDialog = window.showModalDialog;}
var cnt = 0;var popupType = "direct";var KPF_LOG_URL = "http://127.0.0.1:44501/pl.html?";var KPF_TIMEOUT = 100;var onUnloadFlag = false;var KPF_CompleteLoaded = false;
function nullMethod() {}function nullWindow() { this.window = new Object(); this.document = new Object(); this.document.open=this.document.close=this.document.write=this.document.writeln=nullMethod; this.alert=this.back=this.blur=this.captureEvents=this.clearInterval=this.clearTimeout=this.close=this.confirm=this.dump=this.escape=this.focus=this.forward=this.GetAttention=this.getSelection=this.home=this.moveBy=this.moveTo=this.open=this.print=this.prompt=this.releaseEvents=this.resizeBy=this.resizeTo=this.scroll=this.scrollBy=this.scrollByLines=this.scrollByPages=this.scrollTo=this.setCursor=this.setInterval=this.setTimeout=this.sizeToContent=this.stop=this.unescape=this.updateCommands=nullMethod;}
function destroyIframe(ifr){ if (ifr != document.getElementById("kpfLogFrame")) { var x = ifr.parentNode.removeChild(ifr); delete x; };}
function sendStream(s, idx, kpf_pt){ try { var ifr = document.getElementById("kpfLogFrame"); var tmp = ifr.cloneNode(true); tmp.id = "ifr_" + idx; var s2 = "srv=" + document.location + "&url=" + s + "&pty=" + kpf_pt; tmp.src = KPF_LOG_URL + escape(s2); document.body.appendChild(tmp); } catch (e) { orig_setTimeout("sendStream('" + s + "', " + idx + ",'" + kpf_pt + "')", KPF_TIMEOUT); }}
function sendUrl(url){ if (onUnloadFlag) sendStream(url, cnt++, popupType); else { try { orig_setTimeout("sendStream('" + url + "', cnt++,'" + popupType + "')", KPF_TIMEOUT); } catch (e) {} }}
function newOpen(url, name, atr) {wnd = new nullWindow();wnd.focus = nullWindow;wnd.opener = this.window;sendUrl(url);return(wnd); }
function newOpen2(url, name, atr) { sendUrl(url); return(new nullWindow());}
function stopPopups(kpf_pt) { popupType = kpf_pt; CurrWindowOpen = window.open; window.open = newOpen2; }
function startPopups(kpf_pt) { window.open = CurrWindowOpen; popupType = kpf_pt;}
function my_setTimeout(one, two) { if (typeof(one) == "function") { function myFun(){} myFun=one; function newFun() { stopPopups('ontimer'); myFun(); startPopups('direct'); } try { return orig_setTimeout(newFun,two); } catch (e) { try { return eval("newFun()"); } catch(e) { } } } else { try { return orig_setTimeout("stopPopups('ontimer');"+one+"; startPopups('direct');", two); } catch (e) { try { return eval("stopPopups('ontimer');"+one+"; startPopups('direct');"); } catch(e) { } } }}
function my_setInterval(one, two) { if (typeof(one) == "function") { function myFun(){} myFun=one; function newFun() { stopPopups('ontimer'); myFun(); startPopups('direct'); } try { return orig_setInterval(newFun,two); } catch (e) { } } else { try { return orig_setInterval("stopPopups('ontimer');"+one+";startPopups('direct');", two); } catch (e) { } }}
function my_onload() { var my_retcode = true; stopPopups("onload"); if(orig_onload) my_retcode = orig_onload(); startPopups("direct"); KPF_CompleteLoaded = true; return my_retcode; }
function my_unload() { var my_retcode = true; var cnt = 0; stopPopups("onunload"); onUnloadFlag = true; if(orig_onunload) my_retcode = orig_onunload(); startPopups("direct"); return my_retcode;}
function my_windowopen(url, name, atr){ if ( (! KPF_CompleteLoaded) || (document.all && event != null && event.type == "mouseover") ) { if ( ! KPF_CompleteLoaded) { popupType = "direct"; } else { popupType = "mouseover"; } sendUrl(url); popupType = "direct"; } else { try { return CurrWindowOpen2(url, name, atr); } catch (e) {} }}
function my_showModelessDialog (url , arguments , features) { if (!NoPopupsDone) { var wnd = new nullWindow(); popupType = "direct_dialog"; sendUrl(url); popupType = "direct"; return wnd; } if (popupType!="direct" | (event && event.type == "mouseover") ) { var curr_popup = popupType; if (event && event.type == "mouseover") { popupType = "mouseover"; } popupType = popupType+"_dialog"; sendUrl(url); popupType = curr_popup; return ( new nullWindow() ); } else { return ( orig_showModelessDialog(url , arguments , features) ); } }
function my_showModalDialog (url , arguments , features) { if (!NoPopupsDone) { popupType = "direct_dialog"; sendUrl(url); popupType = "direct"; return ""; } if (popupType!="direct" | (event && event.type == "mouseover") ) { var curr_popup = popupType; if (event && event.type == "mouseover") { popupType = "mouseover"; } popupType = popupType+"_dialog"; sendUrl(url); popupType = curr_popup; return ""; } else { return ( orig_showModalDialog(url , arguments , features) ); } }
function nopopups() { if(!NoPopupsDone) { NoPopupsDone = 1; orig_onload = window.onload; orig_onunload = window.onunload; window.onload = my_onload; window.onunload = my_unload; window.open = my_windowopen; }}
window.setTimeout = my_setTimeout;window.setInterval = my_setInterval;window.open = newOpen;if ( orig_showModelessDialog ) { window.showModelessDialog = my_showModelessDialog;}if ( orig_showModalDialog ) { window.showModalDialog = my_showModalDialog;}
//-->

</script>
<!-- Kerio Popup Killer - end of the script inserted by KPF -->[/code]

Kvond het steeds al zo gek dat ie iets moest laden vanaf 127.0.0.1 welke website ik ook bezocht. Kvind KPF trouwens een beetje overdreven, kword beperkt op mn eigen pc en netwerk! Kmoet hem bij meerdere dingen gewoon uit gooie (n) Gelukkig is het ook maar een test, als mn laptop terug is gaat hier mooi weer een kaal installatie overheen ;)
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...