Skip to content

Instantly share code, notes, and snippets.

@mw866
Created February 9, 2022 07:27
Show Gist options
  • Save mw866/2b0994404abe5098bc879507ae6748c2 to your computer and use it in GitHub Desktop.
Save mw866/2b0994404abe5098bc879507ae6748c2 to your computer and use it in GitHub Desktop.
#javascript #js
window.location.href = 'https://www.example.com';
location.href;
document.body.innerHTML;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment