• From the outside, the plugin “does what is says on the tin”: a FaceBook like button is added to the (top,bottom) of every post and page.

    However, the technical implementation is not good: in multiple-post pages, each Like button is added as a new instance of the FaceBook API script, which causes multiple inits of that script (one for each button), which in turn causes large loading times and unnecessary overhead.

    More importantly, if users have turned off cross-domain scripting, which is a browser security feature that is becoming default in most modern browsers, the button’s code causes an error “Blocked a frame with origin Facebook.com from accessing a frame with origin <your site> – protocols, domains and ports must match. This causes the button load to fail completing, upon which the button re-initialises. This cascade of errors takes up full CPU and render your website unworkable.

  • The topic ‘technical problems’ is closed to new replies.