Go to file
tophf 26802e36df Optimize startup: coalesce & debounce prefs.set
Previously prefs.set broadcast many messages per each changed pref value to all open tabs, background page, popups. This lead to repeated and needless updates of various things like the toolbar icon, reapplying of styles, and whatnot. It could easily take more than 100ms on an average computer with many tabs open.

Now we debounce the broadcast & sync.set and coalesce all values in one object which is then sent just once per destination.
2017-04-18 12:46:28 +03:00
_locales Remove code:false mode; show sloppy regexps in popup 2017-04-18 12:46:28 +03:00
backup Remove code:false mode; show sloppy regexps in popup 2017-04-18 12:46:28 +03:00
beautify Preserve selection/cursor after beautify-css 2017-04-18 12:46:28 +03:00
codemirror match-highlighter.js: override step 1 2017-04-18 12:46:26 +03:00
codemirror-overwrites/addon match-highlighter.js: override step 2, highlight only multiple matches 2017-04-18 12:46:26 +03:00
csslint Support :any(), :-webkit-any(), :-moz-any() 2017-03-17 18:08:18 +03:00
images Move images into a separate directory 2017-04-18 12:46:22 +03:00
msgbox break-word for style name in manage/messagebox 2017-04-18 12:46:24 +03:00
options OptionsUI: add 2 global options + simplify 2017-04-18 12:46:25 +03:00
.editorconfig Don't enforce non-native end_of_line in editorconfig 2017-04-18 12:43:30 +03:00
.eslintignore add ESLint and Editorconfig files 2017-02-09 17:20:48 +01:00
.eslintrc Remove code:false mode; show sloppy regexps in popup 2017-04-18 12:46:28 +03:00
.gitignore Update locales from Transifex 2015-03-26 13:28:50 -05:00
apply.js Optimize startup: coalesce & debounce prefs.set 2017-04-18 12:46:28 +03:00
background.js Optimize startup: coalesce & debounce prefs.set 2017-04-18 12:46:28 +03:00
COPYING issue 79 Add licence 2013-01-14 18:21:00 -06:00
dom.js Reverse button order when OS is not Windows 2017-04-18 12:46:23 +03:00
edit.html Add UI for 'editor.matchHighlight' option 2017-04-18 12:46:27 +03:00
edit.js Optimize startup: coalesce & debounce prefs.set 2017-04-18 12:46:28 +03:00
fill_locale_placeholders.py Add placeholders after downloading locales from Transifex 2015-09-18 19:59:51 -05:00
health.js ESLint: customize the rules; fix the issues 2017-04-18 12:46:23 +03:00
install.js ESLint: customize the rules; fix the issues 2017-04-18 12:46:23 +03:00
localization.js ESLint: customize the rules; fix the issues 2017-04-18 12:46:23 +03:00
manage.css break-word for style name in manage/messagebox 2017-04-18 12:46:24 +03:00
manage.html ESLint: customize the rules; fix the issues 2017-04-18 12:46:23 +03:00
manage.js Remove code:false mode; show sloppy regexps in popup 2017-04-18 12:46:28 +03:00
manifest.json Remove webSqlStorage cruft as Stylus never used it 2017-04-18 12:46:23 +03:00
messaging.js Optimize startup: coalesce & debounce prefs.set 2017-04-18 12:46:28 +03:00
popup.css Remove code:false mode; show sloppy regexps in popup 2017-04-18 12:46:28 +03:00
popup.html Remove code:false mode; show sloppy regexps in popup 2017-04-18 12:46:28 +03:00
popup.js Optimize startup: coalesce & debounce prefs.set 2017-04-18 12:46:28 +03:00
pull_locales.rb Handle kinda sorta not there Transifex locales 2016-03-17 22:18:06 -05:00
pull_locales.sh Add placeholders after downloading locales from Transifex 2015-09-18 19:59:51 -05:00
README.md updating README.md; open a bug report to request translation merge 2017-04-18 08:46:55 +04:30
storage.js Optimize startup: coalesce & debounce prefs.set 2017-04-18 12:46:28 +03:00
update.js Optimize startup: coalesce & debounce prefs.set 2017-04-18 12:46:28 +03:00

Stylus : Stylish fork for Chrome and Chrome-like things

Releases

  1. Chrome Web Store
  2. Opera add-ons

Screen shot

screen shot

Help

See the help docs or ask in userstyles.org forum. For Stylus specific questions and suggestions please use review section of the FAQs page.

Contributing

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

You can help us translate the extension on Transifex. When messages.json file is ready to be merged, please open a new bug report in stylish-chrome/issues.

License

For copyright status of the "codemirror" directory, see codemirror/LICENSE. Everything else is:

Copyright (C) 2005-2014 Jason Barnabe jason.barnabe@gmail.com

Copyright (C) 2017 Stylus Team

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 http://www.gnu.org/licenses/.