Support » Plugin: Advanced AJAX Page Loader » URL changes when scrolling to top, if not on homepage…

Viewing 2 replies - 1 through 2 (of 2 total)
  • For remove that content on URL remove this code from your ajax-page-loader.js file

    if (push != 1) {
    			//TODO: implement a method for IE
    			if (typeof window.history.pushState == "function") {
    				var stateObj = { foo: 1000 + Math.random()*1001 };
    				history.pushState(stateObj, "ajax page loaded...", path);
    			} else {
    				if (AAPL_warnings == true) {
    					alert("BROWSER COMPATIBILITY: \n'pushState' method not supported in this browser, sorry about that!");
    				}
    			}
    		}
    Plugin Author Dean Williams

    (@deano1987)

    I will add this as an option in the new version, thanks for bringing your requirements to my attention.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URL changes when scrolling to top, if not on homepage…’ is closed to new replies.