Skip to content

Instantly share code, notes, and snippets.

@nicinabox
Created January 9, 2014 17:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicinabox/8338179 to your computer and use it in GitHub Desktop.
Save nicinabox/8338179 to your computer and use it in GitHub Desktop.
Inject respond.js
var node = document.getElementsByTagName("head")[0] || document.body;
if (node)
{
var script = document.createElement("script");
script.type = "text/javascript";
script.src = 'https://rawgithub.com/scottjehl/Respond/master/dest/respond.min.js';
node.appendChild(script);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment