title: top.window.location.href = "" not working in Chrome & FF
body: <p>I'm trying to שמ IFRAME TAB on the Facebook page with fans gate page
  The TAB works with link directly to the server, i put the button like plugin to when users clicked on the like the gate dropped and fans will place in the page. The problem is that when you click on the Like (of the Flagain), page does not get the command to refresh itself and nothing happens ... after searching several places on the net I found this function </p>
  
  <pre><code>&lt;body class="body"&gt;
  &lt;div id="fb-root"&gt;&lt;/div&gt;
  
         &lt;script src="http://connect.facebook.net/en_US/all.js"&gt;&lt;/script&gt;
          &lt;script&gt;
              FB.init({
                  appId :'208195102528120',
                  status : true, // check login status
                  cookie : true, // enable cookies to allow the server to access the session
                  xfbml : true, // parse XFBML
                  channelUrl : 'http://www.drinkin.co.il/ginger/coupon/coupon_ginger.html', // channel.html file
                  oauth : true // enable OAuth 2.0
              });
          &lt;/script&gt;
  
      &lt;script&gt;
          FB.Event.subscribe('edge.create', function(href, widget) {
          window.location.reload();
  
          if (top.location!= self.location) {
          top.window.location.href = "https://www.facebook.com/gingereilat/app_208195102528120";
      }
          });
      &lt;/script&gt;
  
      &lt;div id="fb-root"&gt;&lt;/div&gt;
      &lt;script&gt;(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));&lt;/script&gt;
  
  
      &lt;img src="https://www.drinkin.co.il/ginger/coupon/coupon_ginger_gate.jpg" width= "810" height= "1200"  /&gt;
  
  &lt;div id="fb"&gt;
      &lt;div class="fb-like"&gt;&lt;fb:like href="https://www.facebook.com/gingereilat" send="false" layout="button_count" width="200" show_faces="false"&gt;&lt;/fb:like&gt;&lt;/div&gt;
   &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt; 
  </code></pre>
  
  <p>It's good I think but it just does not work on FF &amp; Chrome... </p>