game/pma12111211/js/cross_framing_protection.js

10 lines
220 B
JavaScript
Raw Normal View History

2022-12-19 20:22:19 +00:00
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Conditionally included if framing is not allowed
*/
if (self == top) {
document.documentElement.style.display = 'block';
} else {
top.location = self.location;
}