Advertisement
r00tNEPAL

JS Tricks

Oct 3rd, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. window.location = {
  2.     hash: '#haSH',
  3.     host: 'domain.com',
  4.     hostname: 'domain.com',
  5.     href: 'https://domain.com:protocol/path.php?s=tweet@___0x00#haSH',
  6.     pathname: '/path.php',
  7.     port: '80',
  8.     protocol: 'http:',
  9.     search: '?s=tweet@___0x00',
  10.     replace: 'function replace() { [native code] }',
  11.     assign: 'function assign() { [native code] }',
  12.     reload: 'function reload() { [native code] }'
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement