Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- var uri = window.location.toString();
- if (uri.indexOf("?") > 0) {
- var clean_uri = uri.substring(0, uri.indexOf("?"));
- window.history.replaceState({}, document.title, clean_uri);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement