htmlhtml-frames

Does Window-target meta tag work for busting frames?


Does adding the followin tag in the header section of a html document prevent the loading of the document within a frame? If so, why does anybody bother with Javascript methods?

<META HTTP-EQUIV="Window-target" CONTENT="_top" />

Solution

  • It seems that browsers don't support <META HTTP-EQUIV="Window-target" CONTENT="_top" /> meta tag anymore, they simply ignore it. So that's why people bother with using JavaScript, as Gumbo suggested.