Skip to content

Instantly share code, notes, and snippets.

@nhanco
Forked from rotten77/add-jquery-bookmarklet.js
Last active April 16, 2019 12:16
Show Gist options
  • Save nhanco/acf106b46390f5d2369512af24aa4990 to your computer and use it in GitHub Desktop.
Save nhanco/acf106b46390f5d2369512af24aa4990 to your computer and use it in GitHub Desktop.
Add jQuery to site (bookmarklet)
javascript:(function(){var script = document.createElement('script');script.src = '//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js';document.getElementsByTagName('head')[0].appendChild(script);})();
javascript:(function(){var script = document.createElement('script');script.src = '//cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js';document.getElementsByTagName('head')[0].appendChild(script);})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment