README.md

December 5, 2022 ยท View on GitHub

Force a frame

Description

Use the following code to force the user to see your code in the frame it was meant to be seen in.

http://www.truegeeks.com/asp/mam/osdoc/osframe.asp

More Info

Submitted On
ByN/A
LevelBeginner
User Rating5.0 (10 globes from 2 users)
Compatibility
CategoryInternet/ Browsers/ HTML
WorldJava
Archive File

Source Code


<SCRIPT language="JavaScript">
<!--
var theD = ""
theD = parent.frames.length
if (theD==0) {location.href='http://www.paxmundi.com/'}
-->
</SCRIPT>