Add option to break out of other/all frames

kylehase - April 20, 2009 - 08:26
Project:DiggBar Blocker
Version:6.x-1.0-beta1
Component:Code
Category:feature request
Priority:normal
Assigned:henrrrik
Status:active
Description

Framing sucks but Digg isn't the only one framing.
It might be useful to have an option to specify other framers like burnurl, Ow.Ly and/or an option to break out of all frames.

I just use this snippet in my template

<script type="text/javascript" language="JavaScript">
      <!--
          if (top.location != location) {
            top.location.href = document.location.href ;
          }
      -->
</script>

#1

henrrrik - April 20, 2009 - 09:34
Assigned to:Anonymous» henrrrik

Try frameprevention.module.

#2

kylehase - April 21, 2009 - 00:37

@henrrrik Didn't realize there were so many similar modules for this one purpose of breaking out of frames.

#3

henrrrik - April 21, 2009 - 05:48

Nor did I. The project description for Frameprevention has been improved and should be more search friendly now.

 
 

Drupal is a registered trademark of Dries Buytaert.