You will need Node.js to run this file.
To start: node intro.js
// ==UserScript== | |
// @name 7th Grade History 2017 Collection Highlighter | |
// @namespace http://kentdenver.org/ | |
// @version 0.1 | |
// @description Highlights local resources during book searches | |
// @author Alex Clement | |
// @match http://kentdenver.catalog.aspencat.info/Union/Search* | |
// @match http://kentdenver.catalog.aspencat.info/Search* | |
// @downloadURL https://gist.github.com/MrClement/bd64a25d89928d9edee48963a9e8589b/raw/7th-Grade-History.user.js | |
// @updateURL https://gist.github.com/MrClement/bd64a25d89928d9edee48963a9e8589b/raw/7th-Grade-History.user.js |
You will need Node.js to run this file.
To start: node intro.js
I hereby claim:
To claim this, I am signing this object:
onPage(/\/courses\/\d+\/settings/, function() { | |
// do something | |
}); | |
hasAnyRole('admin', function(hasRole) { | |
if (hasRole) { | |
// do something | |
} else { | |
// do something else | |
} |
sed -i .bak 's/^M/\'$'\n/g' ip_email.txt |