File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 11/* vim: set expandtab sw=4 ts=4 sts=4: */
22/**
3- * Conditionally included if third-party framing is not allowed
4- *
3+ * Conditionally included if framing is not allowed
54 */
6-
7- try {
8- if ( top != self ) {
9- top . location . href = self . location . href ;
10- }
11- } catch ( e ) {
12- alert ( "Redirecting... (error: " + e ) ;
13- top . location . href = self . location . href ;
5+ if ( self == top ) {
6+ document . documentElement . style . display = 'block' ;
7+ } else {
8+ top . location = self . location ;
149}
Original file line number Diff line number Diff line change @@ -531,6 +531,7 @@ private function _getMetaTags()
531531 $ retval = '<meta charset="utf-8" /> ' ;
532532 $ retval .= '<meta name="robots" content="noindex,nofollow" /> ' ;
533533 $ retval .= '<meta http-equiv="X-UA-Compatible" content="IE=Edge"> ' ;
534+ $ retval .= '<style>html{display: none;}</style> ' ;
534535 return $ retval ;
535536 }
536537
You can’t perform that action at this time.
0 commit comments