Advertisement
Guest User

Untitled

a guest
Feb 8th, 2023
589
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. <script type='text/javascript'>
  2. //<![CDATA[
  3. var uri = window.location.toString();
  4. if (uri.indexOf("%3D","%3D") > 0) {
  5. var clean_uri = uri.substring(0, uri.indexOf("%3D"));
  6. window.history.replaceState({}, document.title, clean_uri);
  7. }
  8. var uri = window.location.toString();
  9. if (uri.indexOf("%3D%3D","%3D%3D") > 0) {
  10. var clean_uri = uri.substring(0, uri.indexOf("%3D%3D"));
  11. window.history.replaceState({}, document.title, clean_uri);
  12. }
  13. var uri = window.location.toString();
  14. if (uri.indexOf("&m=1","&m=1") > 0) {
  15. var clean_uri = uri.substring(0, uri.indexOf("&m=1"));
  16. window.history.replaceState({}, document.title, clean_uri);
  17. }
  18. var uri = window.location.toString();
  19. if (uri.indexOf("?m=1","?m=1") > 0) {
  20. var clean_uri = uri.substring(0, uri.indexOf("?m=1"));
  21. window.history.replaceState({}, document.title, clean_uri);
  22. }
  23. //]]>
  24. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement