javascript - Facebook like button overwhelms IE7 -
i noticed facebook button on site seems overwhelm ie7, not other browsers. browser slows down point in unusable. tripled memory in virtual machine see if help, didn't.
markup:
<script src="http://connect.facebook.net/en_us/all.js#xfbml=1"></script> <fb:like show_faces="false" width="35" font="" layout="button_count"></fb:like> if remove these lines, issue goes away.
i noticed loading swirl keeps swirling in ie7 (never seems finish), opened fiddler. page seems refresh once second. request made refresh page, , ?fb_xd_fragment appended query string.
the referer header on of these requests http://static.ak.facebook.com/connect/xd_artiber.php?version=6.
javascript errors thrown.
does know if changing particular settings on facebook tags fixes issue? know of workarounds?
i've posted sample fiddler (this first one, please bear me): http://jsfiddle.net/jhoppe/yqdst/ if go edit text of fiddle, in example, can see how page performance has degraded. paired other content on page, performance becomes unbearable
it worked xml namespace
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd" xmlns:fb="http://ogp.me/ns/fb#"> but didn't work in chrome.
so decided use user agent display iframe version ie7.
https://developers.facebook.com/docs/reference/plugins/like/
Comments
Post a Comment