Releases: openstyles/stylus
1.1.0: workarounds, bugfixes
- Added:
- Alt-Enter in the editor to toggle&save the style
- update style settings on USO without page reload
- Workaround for USO:
- use actual style settings
- fix pagination links on find style pages
- support Linux Chromium
- Workaround for FF:
- open Manage/Write from popup in Nightly
- accented characters in a few translated messages inside popup/manage
- Fixed:
- incognito mode crash upon invocation of Manage page
- toggling a style in the popup while editing it in the editor duplicated its sections
- in FF the popup bottom button width is now 50% each
- mozilla format import of styles with 4+ separate comments at a section start
1.0.9: USO advanced settings in FF et al.
- USO site bug workaround in FF/Opera/Vivalidi: append "advanced settings" parameters to the Chrome's download URL
- editor beautifier: option for indenting conditional blocks
- editor csslint: support "i" in attribute selector
1.0.8: Firefox/Vivaldi compatibility
- a few Firefox/Vivaldi compatibility fixes
- touched-up icons
- favicons in Firefox on own pages like manager/editor
- import doesn't blindly overwrite styles with same id now if name/updateUrl/checksum differs
1.0.7: translations
- 4 translations updated (DE, ES, RU, zh_CN)
- better document-rewrite detection on sites like mmo-champion affected by uBlock Origin Extra
1.0.6: Auto-updates and more
-
Automatic style update feature is enabled by default (24 hour interval) in new installations of Stylus.
- New users may simply install styles on userstyles.org and receive updates automatically.
- Existing users with the styles previously installed on userstyles.org site need to run a one-time update check in the style manager. It'll show a warning when it can't detect whether an updatable style was locally edited. In case you didn't edit such styles, just press the button "I didn't edit any styles!" to force an update check, then install the updates.
- Locally edited styles are always preserved by being excluded from the automatic update until you explicitly force an update for the style in the style manager.
-
Minimum Chrome version is 49
In addition to supporting all ES6 stuff we need and use, this also guarantees IndexedDB
getAll
method implemented in v48 so that all styles are retrieved from the DB in one fell swoop instead of being plucked one by one. -
Middle-click, right-click, Ctrl-click (⌘-click) in the popup on a style name opens the editor
-
New UI layout in the style manager and options to toggle/customize it
-
Old bugs fixed:
-
Tabs currently open in the browser automatically [re]establish connection to the Stylus core immediately upon installation/self-update of the extension so there's no need to reload the pages to be able to add or toggle the styles.
-
@-moz-document
bug present in Stylish-for-Chrome since the very beginning was fixed and a warning icon is displayed for such styles in the popup explaining that some/all sections of the style weren't applied. The bug itself is that Stylish-for-Chrome doesn't properly anchor the entire regexp: it only anchors the first and last alternation group. We do it correctly now, meaning some of the styles that were exploiting the buggy behavior won't work as they do in Stylish-for-Chrome. It's not a problem though, because they never worked in Firefox either, which implements@-moz-document
matching correctly, just like we do.When such a style has no sections applied it's displayed in the popup grayed out in addition to the warning icon.
To make the bug easier to fix for the style authors we have a RegExp tester in the style editor. It shows which of the currently open tabs are matched by the regexps. This status dynamically updates the list of tabs, also on modifying the regexp.
-
Popup correctly displays "can't style it" on new tab page overridden by another extension
-
Correct icon updates in Vivaldi
-
XML documents opened directly by browser can be styled
-
Styles are automatically re-applied on sites like mmo-champion affected by uBlock Origin Extra
-
-
Editor: CodeMirror 5.24
-
Editor: match-highlighter for the word (token) under cursor or selected text
-
Editor: context menu 'delete' for browsers without it
-
Editor: beautify-css is updated, now it preserves selection/cursor
-
Improved style caching
Now the background code of Stylus doesn't rebuild the entire style cache for changes like toggling/editing/updating. Instead we update the cache in-place. Style requests are cached too. Regexps are compiled and cached. We don't send style code to tabs when it wasn't changed.
The result is that the typical time spent per page navigation is close to 0 ms instead of 100ms.
-
Added
<html id="stylus">
to all pages for style writers to target our extension specifically in addition to the id attribute on<body>
that specifies the name of the page -
Import in the style manager reports the added/changed/unchanged styles and provides an Undo button
-
Faster search in the style manager
1.0.5: Options, UI tweaks, update checker
- Background update checker
- Options UI
- Styles manager in the browser toolbar icon context menu
- Adjustable popup width
- Compact layout of the popup
- Content scripts reinjection on installing/updating/enabling the extension
- Backup file may be drag-n-dropped on the manage page
- CodeMirror 5.23
- CSSLint v1.0.4