Skip to content

Instantly share code, notes, and snippets.

@danydodson
Last active December 24, 2023 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danydodson/def9372092dcbcb10b1cddec018db3c5 to your computer and use it in GitHub Desktop.
Save danydodson/def9372092dcbcb10b1cddec018db3c5 to your computer and use it in GitHub Desktop.
TamperMonkey
// https://gist.github.com/danydodson/def9372092dcbcb10b1cddec018db3c5
// Dany Dodson <danydodson@gmail.com>
ljs.addAliases({
jQuery:'https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js',
copy:'https://cdn.jsdelivr.net/gh/zenorocha/clipboard.js@master/dist/clipboard.min.js',
juicer:'https://cdnjs.cloudflare.com/ajax/libs/juicer/0.6.14/juicer-min.js',
timeago:'https://cdnjs.cloudflare.com/ajax/libs/timeago.js/2.0.3/timeago.min.js',
iframe:'https://cdn.jsdelivr.net/gh/jae-jae/iframe-sandbox@main/iframe-sandbox.js',
vue:'https://cdnjs.cloudflare.com/ajax/libs/vue/2.4.2/vue.js',
psl:'https://cdn.jsdelivr.net/gh/wrangr/psl@master/dist/psl.min.js',
hotkeys:[
'jQuery',
'https://cdn.jsdelivr.net/gh/jeresig/jquery.hotkeys@master/jquery.hotkeys.js'
],
layer:[
'jQuery',
'https://cdnjs.cloudflare.com/ajax/libs/layer/2.3/layer.js',
'https://cdnjs.cloudflare.com/ajax/libs/layer/2.3/skin/layer.css'
],
iview:[
'vue',
'https://cdnjs.cloudflare.com/ajax/libs/iview/2.2.0/iview.js',
'https://cdnjs.cloudflare.com/ajax/libs/iview/2.2.0/styles/iview.css'
]
});
// @require https://raw.githubusercontent.com/danydodson/l.js/master/userjs/l.userjs.min.js
// @require https://gist.githubusercontent.com/danydodson/def9372092dcbcb10b1cddec018db3c5/raw/45ed6b1200ac95928aeacb34efb91865fbe7261a/userjs-base.js
// @grant GM_xmlhttpRequest
// @connect cdnjs.cloudflare.com
// @connect raw.githubusercontent.com
// @connect gist.githubusercontent.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment