Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


[javascript]Unclosable Site filter_list
Author
Message
[javascript]Unclosable Site #1
Hey!

So, I have this small java-script :
Code:
<script type="text/javascript">
window.onbeforeunload = function(){
    return false
}

Well, it does its job, but I would like to improve it a bit, so the browser would show loop of messageboxes popping out. Like on RickRoll things Smile

Can you help me a bit? Tell me the direction to go or so...

Thanks!!!
Staff will never ever ask you for your personal information.
We know everything about you anyway.

Reply

RE: [javascript]Unclosable Site #2
try

Windows.location = windows.location

the page will refresh Tongue
Pierce the life fibers with your drill.

Reply

RE: [javascript]Unclosable Site #3
(05-23-2011, 05:18 PM)1234hotmaster Wrote: try

Windows.location = windows.location

the page will refresh Tongue

nope :/ sorry ... doesn't work :/
Staff will never ever ask you for your personal information.
We know everything about you anyway.

Reply

RE: [javascript]Unclosable Site #4
the problem with these loops is in chrome (i use) i give the option to block message boxes so it doesn't work, dunno about other browsers.
[Image: 6caf54.gif]

Reply







Users browsing this thread: 1 Guest(s)