Update website
This commit is contained in:
parent
41ce1aa076
commit
ea0eb1c6e0
4222 changed files with 721797 additions and 14 deletions
13
admin/phpMyAdmin/js/dist/cross_framing_protection.js
vendored
Normal file
13
admin/phpMyAdmin/js/dist/cross_framing_protection.js
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Conditionally included if framing is not allowed
|
||||
*/
|
||||
if (self === top) {
|
||||
var styleElement = document.getElementById('cfs-style');
|
||||
// check if styleElement has already been removed
|
||||
// to avoid frequently reported js error
|
||||
if (typeof styleElement !== 'undefined' && styleElement !== null) {
|
||||
styleElement.parentNode.removeChild(styleElement);
|
||||
}
|
||||
} else {
|
||||
top.location = self.location;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue