Fix For Wordpress 2.8.x for Google Friend Connect if not Working in Firefox 3.5
Last day i noticed that my Google-Friend connect plugin is not working for my latest wordpress.I tried a lot to find out the issues behind that.I realized that it is not a code issue since gadget is shown properly in a static page.So,there must be clashes with other plugin codes which might prevent my gadget to load up.I have been seeing just a empty plain or white box ,nothing else.
I searched a lot,and at last found out the issue.It was a bug in Prototype JS Framework which causes it to interfere with the Native JSON parser in Firefox 3.5 and leads to the GFC-prototype conflict.[Refer Explanation]
So,Just copy this piece of code and paste it above the google-connect gadget code.The better option is ,place the code in the header.php of the wordpress code.
<script>
window.JSON = {
parse: function(st){
return st.evalJSON();
},
stringify: function(obj){
return Object.toJSON(obj);
}
};
</script>






Thx dear. you solve my problem because i was thinking that there is some problem in my wordpress.
Great
This is the one which I am looking for.Its really one of the fabulous post which I really like it.keep it up.Keep up the good works.
This is a really good read for me.I really like this blog a lot.thanks for sharing with us.keep blogging.
Great trick. thx for sharing with whole world.
Tank you, my friend.. I’ve been obsessing over this problem for more than a week now.. It also works for 2.9.1.
Tank you once again!
In the previous comment, the “h” doesn’t work very well on my computer
i got it:):)
javascript is a pain, I just wish all the developers would use one standard. Its just ridiculous lol.
Thanks for the fix,it can be so tough to find one and the other u get it and it was just so easy
Thanks..it works
Could you send me a rapidshare premium account please??