Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Mengatasi Duplicate Content: Menghilangkan Kode m=1 Pada URL

antotenananan Feb 2nd, 2020 23 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type='text/javascript'>
  2. var uri = window.location.toString();
  3. if (uri.indexOf("%3D","%3D") > 0) {
  4.   var clean_uri = uri.substring(0, uri.indexOf("%3D"));
  5.     window.history.replaceState({}, document.title, clean_uri);
  6. }
  7. var uri = window.location.toString();
  8. if (uri.indexOf("%3D%3D","%3D%3D") > 0) {
  9.   var clean_uri = uri.substring(0, uri.indexOf("%3D%3D"));
  10.     window.history.replaceState({}, document.title, clean_uri);
  11. }
  12. var uri = window.location.toString();
  13. if (uri.indexOf("&amp;m=1","&amp;m=1") > 0) {
  14.   var clean_uri = uri.substring(0, uri.indexOf("&amp;m=1"));
  15.     window.history.replaceState({}, document.title, clean_uri);
  16. }
  17. var uri = window.location.toString();
  18. if (uri.indexOf("?m=1","?m=1") > 0) {
  19.   var clean_uri = uri.substring(0, uri.indexOf("?m=1"));
  20.     window.history.replaceState({}, document.title, clean_uri);
  21. }
  22. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top