Webkit does not break out of frames!

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Webkit does not break out of frames!

Post 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?
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Post by JAB Creations »

This does work in Safari / Webkit 5xx and Webkit 4xx...

Code: Select all

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