Commit Graph

2280 Commits

Author SHA1 Message Date
Jason Barnabe
6c24362343 Merge pull request #27 from hideheader/iframe-splatter
Only push styles to the top-level document.
2015-02-17 12:50:26 -06:00
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
Jason Barnabe
5e3efb3df6 Apply styles to Stylish pages 2015-02-08 22:25:35 -06:00
Jason Barnabe
0006e001b4 Unix line endings 2015-02-08 22:24:58 -06:00
Jason Barnabe
d54f8c655f Update zh-CN from Transifex 2015-02-08 22:05:10 -06:00
Jason Barnabe
d879b5e0c4 Add option for smart indentation in editor 2015-02-08 22:02:08 -06:00
Jason Barnabe
e9c34da152 Unix line endings 2015-02-08 21:32:06 -06:00
Jason Barnabe
ce0940c526 Apply style as far down the document as possible #15 2015-01-31 18:07:23 -06:00
Jason Barnabe
1a8a213b98 Translations on Transifex now 2015-01-30 20:41:43 -06:00
Jason Barnabe
9b47b57327 Handle styles without sections 2015-01-30 13:18:12 -06:00
Jason Barnabe
00664cc90c Don't show styles with two namespaces as global #19 2015-01-30 13:09:56 -06:00
Jason Barnabe
8c717e871c Potentially open edit in new window #7 2015-01-30 12:38:17 -06:00
Jason Barnabe
01329b7835 Remember position of edit window #7 2015-01-30 12:35:37 -06:00
Jason Barnabe
e5d50b02e7 Sort styles by name in manage 2015-01-30 11:32:14 -06:00
Jason Barnabe
16abc9c19d Convert to Unix linebreaks 2015-01-30 11:31:20 -06:00
Jason Barnabe
0756f2d2b8 Add write new style options to toolbar pop-up #14 2015-01-30 11:28:05 -06:00
Jason Barnabe
c6ab6ab169 Convert to Unix linebreaks 2015-01-30 11:07:24 -06:00
Jason Barnabe
c4750a47b2 Convert to Unix linebreaks 2015-01-30 11:05:06 -06:00
Jason Barnabe
7747cab98f Original content is flickering before stylish applies the user style #15 2015-01-30 10:36:46 -06:00
Jason Barnabe
07d3cdda40 Switch to Linux line endings 2015-01-29 21:32:14 -06:00
Jason Barnabe
89c1dc6bf9 Merge 2015-01-29 12:45:55 -06:00
Jason Barnabe
d09255a6b8 Apply to file: protocol #25 2015-01-29 12:44:29 -06:00
Jason Barnabe
c4c92c6c27 Convert to Unix linebreaks 2015-01-29 12:41:45 -06:00
Jason Barnabe
4c53a199a0 Merge pull request #26 from silverwind/iframe
Add match_about_blank to fix #3
2015-01-29 12:16:07 -06:00
silverwind
30b7a03101 Add match_about_blank to fix #3 2015-01-29 18:56:24 +01:00
Jason Barnabe
db18784f84 Merge pull request #23 from silverwind/update-codemirror
Update CodeMirror to version 4.6
2014-10-06 11:21:10 -05:00
Jason Barnabe
09384b1d57 Don't show disabled-looking controls for disabled styles, code cleanup #20 2014-10-06 11:13:05 -05:00
Jason Barnabe
61c59af2ba Merge branch 'master' of https://github.com/Baegus/stylish-chrome 2014-10-06 10:51:53 -05:00
silverwind
d1b3a62472 Update CodeMirror to version 4.6 2014-10-05 19:43:05 +02:00
Baegus
8d622e6262 Revert "Update compress"
This reverts commit 3835a69770.
2014-10-04 20:09:43 +02:00
Jaroslav Petrnoušek
3835a69770 Update compress 2014-10-04 18:57:37 +02:00
Jaroslav Petrnoušek
1705ab3327 Fixed the checkbox
There, now everything should work. It's not ideal though, I need to figure out how to shorten it.
2014-10-03 23:04:04 +02:00
Jason Barnabe
7484c34bb2 make a useful readme 2014-10-03 15:48:42 -05:00
Jason Barnabe
63d809d72a Make Readme markdown 2014-10-03 15:41:17 -05:00
Jason Barnabe
300773750a Merge branch 'master' of github.com:JasonBarnabe/stylish-chrome 2014-10-03 15:39:54 -05:00
Jason Barnabe
4f0ea8a171 Update locales from Crowdin 2014-10-03 15:39:17 -05:00
Jaroslav Petrnoušek
9574adeaeb Clicking the style name now toggles it as well 2014-10-03 22:32:49 +02:00
Jaroslav Petrnoušek
01e705aef0 Arrow cursor on style name 2014-10-03 22:31:25 +02:00
Jaroslav Petrnoušek
eed410663b Update popup.js 2014-10-03 07:50:40 +02:00
Baegus
40da07846b Checkbox for enabling/disabling styles
This fixes #17
2014-10-01 21:51:25 +02:00
Jason Barnabe
1a2075771d Merge pull request #12 from denilsonsa/patch-1
Fixing repository URL
2014-06-24 15:27:05 -05:00
Denilson Figueiredo de Sá
1c7cc0d4d3 Fixing repository URL 2014-06-24 16:37:55 -03:00
Jason Barnabe
dda79fa4c6 Update version for release 2014-03-25 12:01:18 -05:00
Jason Barnabe
9445f47a3e #9 No install button on userstyles.org HTTPS server 2014-03-22 14:39:58 -05:00
Jason Barnabe
28057bd67f Truncate extension description at 132 chars per new Chrome Web Store requirement 2014-02-19 20:38:09 -06:00
Jason Barnabe
701ed8b783 Increment version for 1.2.1 release 2014-02-19 20:15:40 -06:00
Jason Barnabe
5950bf2d48 fix whitespace and update version to current release 2014-02-07 21:51:11 -06:00
Jason Barnabe
90ae3b8d88 fix missing badge text after style install 2014-02-07 21:49:08 -06:00
Jason Barnabe
ecc3bf18a9 issue #4 Add option to hide number of enabled styles in active tab from toolbar icon 2014-02-07 20:04:06 -06:00
Jason Barnabe
41fb65c841 issue #6 Enabled should be checked on new styles 2014-02-06 15:09:12 -06:00