Skip to content

Instantly share code, notes, and snippets.

@ElfhirDev
Created January 13, 2016 09:00
Show Gist options
  • Save ElfhirDev/0c84946954e284d453d9 to your computer and use it in GitHub Desktop.
Save ElfhirDev/0c84946954e284d453d9 to your computer and use it in GitHub Desktop.
Load useful scripts for easy debugging / hacking in console on all websites
// ==UserScript==
// @name libs
// @namespace useful scripts
// @description load tons of useful scrips as jQuery, Modernizr, etc ... for debugging in console.
// @require http://code.jquery.com/jquery-1.12.0.min.js
// @require http://underscorejs.org/underscore-min.js
// @require https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js
// @include *
// @version 1
// @grant none
// ==/UserScript==
console.group('Loads useful libs');
console.info("jQuery : " + jQuery.fn.jquery);
console.info("Underscore : " + _.VERSION);
console.info("Modernizr : " + Modernizr._version);
console.groupEnd();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment