Update website
This commit is contained in:
parent
a0b0d3dae7
commit
ae7ef6ad45
3151 changed files with 566766 additions and 48 deletions
15
admin/phpMyAdmin/js/dist/cross_framing_protection.js
vendored
Normal file
15
admin/phpMyAdmin/js/dist/cross_framing_protection.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
"use strict";
|
||||
|
||||
/**
|
||||
* 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