Notable changes:
-
Fix #1891: styles for an old URL of the tab were applied on navigation with
instant inject
option enabled. -
Automatically backup styles into another storage to increase the chance it survives bugs in Stylus or browsers like Vivaldi that carelessly offer an option to shoot oneself in the foot by clearing extension storage in the
Delete browsing data
UI. The copy is compressed usinggzip
in modern browsers, so it's just ~10% of the original.Currently Stylus will restore the data automatically on the next start of the extension if the main database is empty, i.e. it won't happen if you updated some style after the database was cleared while the extension was still running (because the main storage won't be empty anymore). Eventually I'll add a UI to do it explicitly. Until then the workaround is pretty straightforward: click
Export
in the style manager, delete the new style(s) to make the database empty, disable and enable the extension or reload it, import the exported backup.
Full Changelog: v2.3.6...v2.3.7
Known bugs:
- Styles targeting specific parts (i.e. not the entire site) of a SPA site like fb/x/youtube may be applied incorrectly while navigating the site. Fixed in a543970.
P.S. The attached MV2 build includes a post-release fix for very old browsers without gzip compression API.