Added comment header and refactored code slightly.
This commit is contained in:
parent
746efec194
commit
8bff272e8b
1 changed files with 10 additions and 3 deletions
|
@ -1,5 +1,12 @@
|
|||
window.onload = function() {
|
||||
if (top.location != location) {
|
||||
top.location.href = document.location.href;
|
||||
/**
|
||||
* Frame Break
|
||||
*
|
||||
* Include on any pages you don't want to be framed
|
||||
*/
|
||||
window.onload = function()
|
||||
{
|
||||
if (top.location != self.location)
|
||||
{
|
||||
top.location.replace(self.location);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue