Ready to get started?Download WordPress


Advanced AJAX Page Loader
[resolved] URL changes when scrolling to top, if not on homepage... (3 posts)

  1. motwera
    Posted 9 months ago #

    Hi, i have been just recently using this plugin, and it is very good... but one problem..

    When I go to a certain page, post with the plugin working... i noticed that the url of the post/page changes when i scroll up, is there any fix to this?



  2. Himansu
    Posted 8 months ago #

    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!");
  3. Dean Williams
    Plugin Author

    Posted 7 months ago #

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


You must log in to post.

About this Plugin

About this Topic