Skip to content

Instantly share code, notes, and snippets.

@matdombrock
Created July 13, 2016 18:15
Show Gist options
  • Select an option

  • Save matdombrock/0d9f26e81ebdb5dfcd5413dd16d81ddc to your computer and use it in GitHub Desktop.

Select an option

Save matdombrock/0d9f26e81ebdb5dfcd5413dd16d81ddc to your computer and use it in GitHub Desktop.
include jQuery in a user script.
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// ... give time for script to load, then type.
jQuery.noConflict();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment