Default CSS

enable custom CSS if and only if page does not define its own styles in <head>

2023-12-22 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

लेखक
belkka
रेटिंग
0 0 0
आवृत्ती
2023-12-21
बनवली
2023-12-22
अपडेट केली
2023-12-22
आकार
872 Bytes
License
WTFPL
यांवर लागू होते:
सर्व संकेतस्थळे

Enable custom CSS if and only if page does not define its own styles in <head>.

This userscript uses sp.css from https://github.com/susam/spcss/ project, but you can easily change it to another style sheet.

Example page without CSS in <head>: https://www.gnu.org/software/termutils/manual/termutils-2.0/html_mono/tput.html. The script could also be useful for viewing offline documentation, e. g. /usr/share/doc/bash/bash.html

Inspired by https://superuser.com/questions/597260