Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Why is #_=_ appended to the redirect URI? passport facebook

$(window).on('load', function(e){
  if (window.location.hash == '#_=_') {
    window.location.hash = ''; // for older browsers, leaves a # behind
    history.pushState('', document.title, window.location.pathname); // nice and clean
    e.preventDefault(); // no page reload
  }
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Why #appended #redirect #passport #facebook
ADD COMMENT
Topic
Name
4+5 =