Stefan Martin Riesel

Problems of the GFC in Firefox is a conflict with prototype.js


The plugin for GFC (Google Friend Connect) WordPress stopped working in recent versions of Firefox, now finally found the solution. Apparently it's a conflict with the prototype.js and can be solved by placing the code below before the gadget:

<script>
window.JSON = {
parse: function (st) {
st.evalJSON return ();
}
stringify: function (obj) {
Object.toJSON return (obj);
}
;}
</ Script>

  • jack

    qq eh gadget?

  • martin

    First http://pt.wikipedia.org/wiki/Gadget
    Here in the text Diser wanted to put the code before the GFC gadget. He puts the of your page that will work.
    In WordPress just get in Appearance => Editor => Header and paste the code for example after
    Any questions just ask.