Page 1 of 1

Webkit does not break out of frames!

Posted: Sat Nov 17, 2007 10:14 am
by JAB Creations
This code does not work correctly in Webkit 3.0.4 or earlier but it works fine in IE4. :roll: :roll: :roll:

Code: Select all

if (top.location != location) {top.location.href = document.location.href;}
Could someone please assist me in making Webkit not <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> me off please?

Posted: Sat Nov 17, 2007 10:21 am
by JAB Creations
This does work in Safari / Webkit 5xx and Webkit 4xx...

Code: Select all

if (window != top) {top.location = location.href;}