Skip to content

Instantly share code, notes, and snippets.

@pspaul
Last active October 1, 2019 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pspaul/e080069c5d86571dd0bd582421403b71 to your computer and use it in GitHub Desktop.
Save pspaul/e080069c5d86571dd0bd582421403b71 to your computer and use it in GitHub Desktop.
rainbow-stage6-trampoline
const payload = decodeURIComponent(location.hash.slice(1));
const blobUrl = URL.createObjectURL(new Blob([payload], { type: 'application/javascript' }));
const script = document.createElement('script');
script.src = blobUrl;
homepage.appendChild(script);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment