• roxchou

    (@roxchou)


    Upon activating your plugin, the website was just a blank page. When I deactivated the plugin, the website was back to normal. Activated a second time and got the blank screen again. However, viewing page source of the white page showed all the HTML code. Not sure what causes the blank page but cannot use your plugin as is.

    https://wordpress.org/plugins/anti-clickjack/

Viewing 1 replies (of 1 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi,

    The javascript that is inserted to prevent clickjacking adds a style that hides the body, body: {display:none;}

    When the javascript detects that the current window is the topmost window, this style is removed.

    if (self === top) {
           var antiClickjack = document.getElementById("antiClickjack");
           antiClickjack.parentNode.removeChild(antiClickjack);
       } else {
           top.location = self.location;
       }

    What probably happens here, is that the style that hides the body is not removed. You should check in your console for javascript errors to see what is happening.

Viewing 1 replies (of 1 total)

The topic ‘Activating plugin results in blank website’ is closed to new replies.