Jason
cc95a62c7c
Various Firefox error and warning fixes #166
2016-03-07 23:22:28 -06:00
Jason
2973cac28f
Switch to IndexedDB #167
2016-03-06 20:27:17 -06:00
Jason
bc477eeef9
Check for onHistoryStateUpdated before use #166
2016-01-30 18:17:25 -06:00
Jason
a01bdf7b5a
chrome.extension.onMessage -> chrome.runtime.onMessage
2016-01-30 18:06:04 -06:00
Jason Barnabe
8f10fc291e
Merge pull request #157 from tophf/sync-settings
...
Sync prefs
2016-01-30 16:05:07 -06:00
tophf
ac70503718
Apply styles upon direct URL hash modification
2015-12-31 19:07:55 +03:00
tophf
d971bbda8a
Remove unneeded "Pref" word from prefs
methods
2015-10-15 00:34:47 +03:00
tophf
1f961b0993
Deprecate localStorage, refactor prefs
2015-10-15 00:34:46 +03:00
tophf
69a085c116
Fix occasional Chrome mismatch requestUrl!=sender.tab.url
2015-10-05 18:06:05 +03:00
tophf
274584510f
Fix getStyles returning global styles for extensions pages
...
This didn't work anyway but wrongly showed nonzero style count in an opened popup when the option was changed in another window.
2015-10-05 17:44:44 +03:00
tophf
73218c399b
Support ftp urls
2015-08-11 07:36:48 +03:00
tophf
bbddba9532
Isolate try-catch in background script
2015-08-01 15:13:52 +03:00
tophf
ae8683873a
fixes for Chrome 31
2015-08-01 15:11:32 +03:00
tophf
7d25709a7d
Don't wrongly style tabs with identical openerTabId
2015-07-26 05:24:46 +03:00
tophf
c60a21cf12
New Tab Page: fixup for icon, badge, popup style list
2015-05-21 17:45:06 +03:00
tophf
f765934316
Dim toolbar icon on unstyled tabs, regenerate icons
2015-05-21 17:38:02 +03:00
tophf
a0c5674f6f
Wait for background page to load on Chrome startup
...
At startup Chrome lazy-loads extension's background page,
thus occasionally breaking apply.js and Stylish own pages
2015-05-05 21:36:16 +03:00
tophf
bc6476bc52
Editor: option to select CodeMirror CSS theme
2015-05-05 21:14:11 +03:00
tophf
30598dbbf0
Fix old Chrome error: no 'browser_action' contextMenu type
2015-04-22 22:01:19 +03:00
tophf
1156b3f989
Fix 'const in strict mode' error in very old Chrome
2015-04-22 14:30:55 +03:00
tophf
d4382d3f08
Apply global changes to popups
2015-04-07 20:07:45 +03:00
tophf
bd9a91951f
Add 2 global behavior toggles to the toolbar button context menu
2015-03-26 21:16:03 +03:00
tophf
2ed53db7ad
Add Chrome shortcut keys; update popups on change
...
* hotkey to open Manage styles
* hotkey to enable/disable all styles
No default hotkeys are provided, to customize go to "Keyboard shortcuts" on the Extensions page
2015-03-25 18:04:51 +03:00
hideheader
f45a6506be
Add 'Disable all styles' to popup
2015-03-24 20:21:19 +03:00
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