From: Brion Vibber Date: Tue, 2 Mar 2004 02:22:44 +0000 (+0000) Subject: Force the wiki out of frameset thieves X-Git-Tag: 1.3.0beta1~883 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=187d612dd48b4b831ba64e891450f21a4381c63e;p=lhc%2Fweb%2Fwiklou.git Force the wiki out of frameset thieves --- diff --git a/stylesheets/wikibits.js b/stylesheets/wikibits.js index 155e0609d2..f4dbaa76d2 100644 --- a/stylesheets/wikibits.js +++ b/stylesheets/wikibits.js @@ -1,5 +1,8 @@ // Wikipedia JavaScript support functions +// Un-trap us from framesets +if( window.top != window ) window.top.location = window.location; + // for enhanced RecentChanges function toggleVisibility( _levelId, _otherId, _linkId) { var thisLevel = document.getElementById( _levelId );