SHARE
TWEET

Untitled

a guest Dec 16th, 2018 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html><body><script>
  2.  
  3. var a = prompt("Enter your name:");
  4. document.location = location.href + "#" + a;
  5. var b = location.hash;
  6. var c = b.length;
  7. var d = b.substring(1,c);
  8. document.write("Hello " + d + "!");
  9.  
  10. </script></body></html>
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