Last active
August 18, 2016 05:35
-
-
Save neilerdwien/20e2798feb14250efbc6d1cd8f82a4ab to your computer and use it in GitHub Desktop.
Bookmarklet to remove URLs from printouts of Kansas State University web pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
var ac = function(cl) { | |
var dl = document.getElementsByClassName(cl); | |
for (var i = 0; i < dl.length; i++) { | |
dl[i].classList.add('ksu-no-print-url'); | |
} | |
}; | |
ac('ksu-main-content'); | |
ac('ksu-sidebar-secondary'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment