{"action":"closed","issue":{"url":"https://api.github.com/repos/weblinc/jquery.smoothState.js/issues/132","labels_url":"https://api.github.com/repos/weblinc/jquery.smoothState.js/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/weblinc/jquery.smoothState.js/issues/132/comments","events_url":"https://api.github.com/repos/weblinc/jquery.smoothState.js/issues/132/events","html_url":"https://github.com/weblinc/jquery.smoothState.js/issues/132","id":59941912,"number":132,"title":"Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience.","user":{"login":"ukkpower","id":1074922,"avatar_url":"https://avatars.githubusercontent.com/u/1074922?v=3","gravatar_id":"","url":"https://api.github.com/users/ukkpower","html_url":"https://github.com/ukkpower","followers_url":"https://api.github.com/users/ukkpower/followers","following_url":"https://api.github.com/users/ukkpower/following{/other_user}","gists_url":"https://api.github.com/users/ukkpower/gists{/gist_id}","starred_url":"https://api.github.com/users/ukkpower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukkpower/subscriptions","organizations_url":"https://api.github.com/users/ukkpower/orgs","repos_url":"https://api.github.com/users/ukkpower/repos","events_url":"https://api.github.com/users/ukkpower/events{/privacy}","received_events_url":"https://api.github.com/users/ukkpower/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-05T11:55:57Z","updated_at":"2015-03-09T00:33:28Z","closed_at":"2015-03-09T00:33:28Z","body":"I have implemented this onto my website http://hotelieracademy.com and in Chrome I get this error when the first page loads \r\n\r\n    Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.\r\n\r\nThen I get this for every click afterwards\r\n\r\n    Uncaught TypeError: undefined is not a function\r\n\r\nI get a slightly different error is Safari.\r\n\r\nI load one .js file at the bottom of the page\r\n\r\n  <script src=\"/js/main.min.js\" async=\"true\" defer=\"defer\"></script>\r\n\r\nInside I have:\r\n-  jQuery\r\n- smoothstate\r\n- $('#main').smoothState({ pageCacheSize: 4, prefetch: true });\r\n- other plugins\r\n"}}