Go to file
hideheader 6b178c9184 Only push styles to the top-level document.
Push styles only to the main frame of a tab; let the content script pull styles into child frames, as before.

`chrome.tabs.sendMessage` can only broadcast to all frames in a tab until Chrome 41. The main frame always fires `onCommit` before any child frame, so only the main frame hears its own message from `onCommit`. It (and every child frame that's already fired `onCommit`) hears the `onCommit` message for every frame that follows, with the result that the main frame applies all the styles for every frame in the tab.
https://forum.userstyles.org/discussion/45062/stylish-for-chrome-1-3-0b1#Comment_95474
2015-02-12 17:44:43 -05:00
_locales Update zh-CN from Transifex 2015-02-08 22:05:10 -06:00
codemirror Update CodeMirror to version 4.6 2014-10-05 19:43:05 +02:00
.gitignore Removed unused CodeMirror dirs 2012-11-27 12:21:24 -06:00
16.png initial commit 2012-04-15 20:56:12 -05:00
19.png initial commit 2012-04-15 20:56:12 -05:00
48.png initial commit 2012-04-15 20:56:12 -05:00
128.png initial commit 2012-04-15 20:56:12 -05:00
apply.js Add option for smart indentation in editor 2015-02-08 22:02:08 -06:00
background.html initial commit 2012-04-15 20:56:12 -05:00
background.js Only push styles to the top-level document. 2015-02-12 17:44:43 -05:00
COPYING issue 79 Add licence 2013-01-14 18:21:00 -06:00
edit.html Apply styles to Stylish pages 2015-02-08 22:25:35 -06:00
edit.js Add option for smart indentation in editor 2015-02-08 22:02:08 -06:00
health.js issue 102 Do something reasonable if the Stylish DB can't be read 2013-06-25 23:25:04 -05:00
help.png initial commit 2012-04-15 20:56:12 -05:00
install.js issue 5 updates for styles with settings 2014-02-06 15:05:31 -06:00
localization.js initial commit 2012-04-15 20:56:12 -05:00
manage.html Apply styles to Stylish pages 2015-02-08 22:25:35 -06:00
manage.js Add option for smart indentation in editor 2015-02-08 22:02:08 -06:00
manifest.json Add write new style options to toolbar pop-up #14 2015-01-30 11:28:05 -06:00
messaging.js fix missing badge text after style install 2014-02-07 21:49:08 -06:00
popup.html Apply styles to Stylish pages 2015-02-08 22:25:35 -06:00
popup.js Apply styles to Stylish pages 2015-02-08 22:25:35 -06:00
README.md Translations on Transifex now 2015-01-30 20:41:43 -06:00
storage.js Add option for smart indentation in editor 2015-02-08 22:02:08 -06:00
world_go.png initial commit 2012-04-15 20:56:12 -05:00

Stylish - a user style manager for Google Chrome and Opera.

Releases

Releases are available at the Chrome Web Store and the Opera add-ons site.

Help

See the help docs or ask in the forum.

Contributing

The source is hosted on GitHub and pull requests are welcome. Translations can be done on Transifex but are welcome as pull requests as well.

License

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

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

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/.