Created
May 26, 2020 15:09
-
-
Save JTBrinkmann/6f354c75dccbfe3e14d885faeacc6fbe to your computer and use it in GitHub Desktop.
This file contains 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:$('body').css('color-adjust','exact');fetch('/css/bootstrap.min.css').then(r=>r.text()).then(b => { b = b.replace(/@media\s+print\s*\{[\s\S]*?\}\s*\}/g, '').replace(/url\(\./g,'url(/css/.'); $a = $('link[href="/css/bootstrap.min.css"]').attr('media', 'none'); $('<style>').text(b).insertAfter($a) }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment