Go to file
eight b40849acad Refactor: rewrite style injector (#664)
* Refactor: style injector/docRootObserver/docRewriteObserver

* Fix: minor

* Fix: disabled state

* Fix: use evade

* Fix: apply.js is broken in our pages

* Fix: transition patch is broken

* Fix: also check elements after the last userstyle

* Fix: remove outdated FIXME. styleInjector.toggle now toggle all styles

* Fix: call Object.keys twice

* Add a fixme

* Fix: typo

* Add a fixme

* Fix: don't argue for mutations generated by other extensions
2019-03-09 20:58:17 -06:00
_locales Add: user-frendly exclusions (#666) 2019-03-03 16:54:37 -06:00
.github Chore: include stylus version in the issue template (#549) 2018-11-08 07:35:40 -06:00
.tx Locales (#532) 2018-11-03 09:37:25 -05:00
background Firefox allow CSP UserCSS install from anywhere. See #618 (#623) 2019-03-03 20:42:03 -06:00
content Refactor: rewrite style injector (#664) 2019-03-09 20:58:17 -06:00
edit CSSLint and parserlib (#646) 2019-03-03 16:55:15 -06:00
images/icon remove what-input, use own implementation, rebase on master 2017-12-13 03:27:10 +03:00
install-usercss Add: enable usercss updateURL (#661) 2019-02-13 19:09:18 -06:00
js Add: enable usercss updateURL (#661) 2019-02-13 19:09:18 -06:00
manage Fix: don't use null as id (#606) 2018-12-07 21:57:43 -06:00
msgbox Return pointer-events to error modals Fixes #637 2019-01-06 17:07:52 -05:00
options Account for max-content bug in Chrome 49 2019-01-08 02:41:39 -05:00
popup Add: user-frendly exclusions (#666) 2019-03-03 16:54:37 -06:00
sync Move dropbox vendors (#576) 2018-11-28 18:56:17 -06:00
tools Move dropbox vendors (#576) 2018-11-28 18:56:17 -06:00
vendor Update vendors 2018-11-29 20:11:39 -06:00
vendor-overwrites CSSLint and parserlib (#646) 2019-03-03 16:55:15 -06:00
.editorconfig Don't enforce non-native end_of_line in editorconfig 2017-04-18 12:43:30 +03:00
.eslintignore refactor CSSLint 2018-01-07 12:31:23 +03:00
.eslintrc Refactor the entire storage system and the section editor (#518) 2018-11-07 14:09:29 +08:00
.gitattributes Locales (#532) 2018-11-03 09:37:25 -05:00
.gitignore Locales (#532) 2018-11-03 09:37:25 -05:00
edit.html Refactor: rewrite style injector (#664) 2019-03-09 20:58:17 -06:00
global.css simplified font CSS 2018-08-20 13:11:02 +03:00
install-usercss.html Refactor: rewrite style injector (#664) 2019-03-09 20:58:17 -06:00
LICENSE Adding external licenses (#424) 2018-07-09 16:39:31 +03:00
manage.html Refactor: rewrite style injector (#664) 2019-03-09 20:58:17 -06:00
manifest.json Refactor: rewrite style injector (#664) 2019-03-09 20:58:17 -06:00
options.html Refactor: rewrite style injector (#664) 2019-03-09 20:58:17 -06:00
package.json 1.5.2 2018-12-11 07:34:05 -06:00
popup.html Refactor: rewrite style injector (#664) 2019-03-09 20:58:17 -06:00
README.md no need to open issues that notify about transifex 2018-08-16 13:59:46 +03:00

Stylus is a fork of Stylish for Chrome, also compatible with Firefox as a WebExtension

Highlights

  • In addition to the userstyles.org site, styles with customizable parameters can also be installed from .user.css or .user.styl URLs (see Usercss format wiki).
  • Site styles can be discovered and previewed in the popup using inline search with screenshot thumbnails.
  • A backup feature which is compatible with other userstyles managers.
  • Configurable automatic update function for installed styles.
  • Customizable UI, optional layouts, and tweaks.
  • Two different optional code validators with user-configurable rules: CSSLint and Stylelint.
    • Both validators use Web Worker API to run in a separate background thread inside the editor tab without blocking your interaction with the code.
    • CSSLint is heavily modified compared to the effectively frozen original one and supports various CSS3 features as well as CSS4 Color and CSS Grid syntax.

Releases

  1. Chrome Web Store (or beta)
  2. Firefox add-ons
  3. Opera add-ons (see wiki for more recent version)

Screenshots

Style manager Style editor Popup config for usercss Popup inline search Style manager config for usercss Options

Help

Contributing

The source is hosted on GitHub and pull requests are welcome.

You can help us translate the extension on Transifex.

See our contributing page for more details.

License

Inherited code from the original Stylish:
Copyright © 2005-2014 Jason Barnabe

Current Stylus:
Copyright © 2017-2018 Stylus Team

GNU GPLv3
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

External libraries

The licenses of external libraries used in this project or modified versions of external libraries can be found in their respective directory.