Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Facebook 'Like' XFBML causes page URL to change adding ?fb_xd_fragment to the string: Why. How fix

Avatar of pbeddows
pbeddowsFlag for United States of America asked on
JavaScriptXMLWeb Browsers
3 Comments1 Solution1209 ViewsLast Modified:
Facebook 'like' XFBML or it's constituents
xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraphprotocol.org/schema/" as in the standard page leadin:
"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraphprotocol.org/schema/">  
or the related SDK script - see snippet below; note: I've replaced the app id only here in this query view of that code, not in the actual page code itself -  appears to cause IE8 to have conniptions on certain user pcs and now Google offers "http://www.missi.com/missiWebOpening.html?fb_xd_fragment" as search result which is completely wrong.

For some reason that I do not understand, if someone attempts to open "http://www.missi.com/" in IE8, the page initially paints perfectly but, once completed, on some user pcs - but not all - the URL suddenly, inexplicably, changes automatically to "http://www.missi.com/missiWebOpening.html?fb_xd_fragment" and the browser consequently goes completely blank - no underlying code appears when right clicking on this blank page to show its source content - because there is no such page as one related to the "?fb_xd_fragment" on our web server.

Can anyone explain this and, more particularly, how to fix it and how to accommodate the result if someone clicks on this link in a Google Search result so that they will be sent to the correct URL instead of this non-existent 'fragment'? Would also be helpful to know how to remove this erroneous link from Google's search results.

This weirdness happens only when using IE8 only on some, not all, pcs. No problems using Chrome, Firefox or Safari.
<div id="fb-root"></div>
<script type="text/javascript">
  window.fbAsyncInit = function() {
    FB.init({appId: '99999999999', status: true, cookie: true, xfbml: true});
  (function() {
    var e = document.createElement('script'); 
    e.type = 'text/javascript';
    e.async = true;
    e.src = document.location.protocol +
Avatar of pbeddows
pbeddowsFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answers