Commit Graph

25 Commits

Author SHA1 Message Date
tophf
8e6e1f97b2 Manager: "Edit" button re-uses existing tabs, shift-click opens a new window 2015-03-20 17:29:47 +03:00
9adefaf01e5bf6426d838cd20eae582d2b6ba647
0ff7537a8d Actually use the show-badge preference 2015-03-07 05:02:13 +03:00
hideheader
f54a70fe07 Replace localStorage calls with prefs calls 2015-03-03 18:36:18 -05:00
hideheader
c6340e9617 Use a common webNavigation listener
Use the same listener for `webNavigation.onCommitted` and `webNavigation.onHistoryStateUpdated`.
2015-02-23 17:48:27 -05:00
hideheader
b377be8a18 Reload styles on history.pushState 2015-02-23 00:25:24 -05:00
Jason Barnabe
adb54a4a88 Disable logging of style applies logic 2015-02-17 13:57:17 -06:00
Jason Barnabe
e6df389f59 Explain why we 'Only push styles to the top-level document' #27 2015-02-17 12:52:32 -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
d879b5e0c4 Add option for smart indentation in editor 2015-02-08 22:02:08 -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
01329b7835 Remember position of edit window #7 2015-01-30 12:35:37 -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
7747cab98f Original content is flickering before stylish applies the user style #15 2015-01-30 10:36:46 -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
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
6bf6cff755 issue 5 updates for styles with settings 2014-02-06 15:05:31 -06:00
Jason Barnabe
2064f56796 issue 102 Do something reasonable if the Stylish DB can't be read 2013-06-25 23:25:04 -05:00
Jason Barnabe
b7aa8b4b81 issue 96 New styles have a URL of undefined 2013-06-23 23:16:48 -05:00
Jason Barnabe
5623fef058 issue 57 Bad regexp prevents some other styles from applying 2012-11-02 22:25:04 -05:00
Jason Barnabe
9270dc1596 issue 44 Stop using deprecated Chrome APIs 2012-08-19 20:14:33 -05:00
Jason Barnabe
7df28a58db issue 31 some small perf improvements 2012-06-01 23:11:32 -05:00
Jason Barnabe
b019038f57 initial commit 2012-04-15 20:56:12 -05:00