Skip to content

Instantly share code, notes, and snippets.

@cramforce
Created November 2, 2015 03:15
Show Gist options
  • Select an option

  • Save cramforce/4e794b645483c41aabc0 to your computer and use it in GitHub Desktop.

Select an option

Save cramforce/4e794b645483c41aabc0 to your computer and use it in GitHub Desktop.
link rel preconnect polyfill
const url = origin + '/amp_preconnect_polyfill?' + Math.random();
const xhr = new XMLHttpRequest();
xhr.open('HEAD', url, true);
xhr.send();
@jarnix
Copy link
Copy Markdown

jarnix commented Aug 2, 2023

f u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment