memo.xight.org

日々のメモ

Stylus のスタイルが消えてしまった時の救出策

Summary

Google Chrome Version 72.0.3595.2 (Official Build) dev (64-bit)
Stylus 1.4.21 の組み合わせで Stylus が動作しなくなり、カスタムCSSも消えてしまった。

Stylus は Beta版を使うことで対処できたが、カスタムCSSを取り戻したい。

方法

1. Stylus のアイコンをクリックし、 "Manage" ページを表示
2. Chrome の Developer Tools を起動
3. Applicationタブの Storage "IndexedDB" をクリック
4. データベース stylish, テーブル styles の中のレコードを参照
5. sections の中にカスタムCSSを見つけることができる

Summary

GitHub - openstyles / stylus - Issues #278 Installed styles have been purged
https://github.com/openstyles/stylus/issues/278