game/pma12111211/js/cross_framing_protection.js

10 lines
220 B
JavaScript

/* 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;
}