Default CSS

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

2023/12/22のページです。最新版はこちら

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
belkka
評価
0 0 0
バージョン
2023-12-21
作成日
2023/12/22
更新日
2023/12/22
大きさ
868バイト
ライセンス
WTFPL
対象サイト
すべてのサイト

Enable your custom CSS if and only if page does not define any 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