Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ('history' in window) {
- window.history.__pushState = window.history.pushState;
- window.history.pushState = function (_data, _title, _url) {
- window.history.__pushState(null, null, _url);
- window.document.title = _title;
- };
- window.history.__replaceState = window.history.replaceState;
- window.history.replaceState = function (_data, _title, _url) {
- window.history.__replaceState(null, null, _url);
- window.document.title = _title;
- };
- }
Add Comment
Please, Sign In to add comment