Category Archives: JavaScript

Greasemonkey script for switching CSS

I wrote a simple script that allows me to remove a web page’s stylesheet imports and load in my own. In the following exmaple I am leaving the reset-min.css import intact, and loading the new CSS from my local web server. // ==UserScript== // @name styleSwitcher // @namespace https://www.deanoj.co.uk/ // @description Replaces all site CSS [...]

Posted in JavaScript | Tagged , | 2 Comments