Skip to content

Instantly share code, notes, and snippets.

@fadyosman
Created December 2, 2022 21:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fadyosman/c812c648d37e2a59274d9ecd81e40d70 to your computer and use it in GitHub Desktop.
Save fadyosman/c812c648d37e2a59274d9ecd81e40d70 to your computer and use it in GitHub Desktop.
var payloads = ["javascript://", "javascript::", "JavaScript:", "javajavascript:script:"];
function doit(x, index) {setTimeout(function() {location.hash = "#" + x}, 1000 * index)}
payloads.forEach(doit);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment