tophf
ece3822891
option to switch toolbar icon sets
2017-07-09 12:22:44 +03:00
tophf
2240a0895e
editor: autocomplete on typing
2017-06-18 17:04:14 +03:00
tophf
ddc5cc0ccf
beautify: option for indenting conditional blocks
2017-05-27 11:42:54 +03:00
tophf
ee86ef3037
optionsUI: add 'editor.contextDelete'
2017-04-29 19:56:37 +03:00
tophf
6d65d2a2b6
Expose iframes via HTML[stylus-iframe]
...
* convert actions to buttons
2017-04-29 03:27:47 +03:00
tophf
c47e2af430
enable automatic style updates every 24h
2017-04-26 21:35:30 +03:00
tophf
50ec32a7b2
Rephrase the misleading "only edited styles" option
2017-04-26 14:33:31 +03:00
tophf
135423860d
setupLivePrefs() now automatically finds the elements
...
To make an element a live pref discoverable by setupLivePrefs() just use the corresponding pref's id as the element's HTML id attribute.
2017-04-21 19:39:34 +03:00
tophf
3713c252a8
broadcast affectsIcon's keys on startup
2017-04-21 15:52:23 +03:00
tophf
47eefd1cd2
code cosmetics: contextMenus use prefs.subscribe()
2017-04-21 15:52:23 +03:00
tophf
468a758cec
code cosmetics: inverted "no????" params to straight ones
2017-04-21 15:52:23 +03:00
tophf
2e60af40f0
refactor bg updater; add prefs.subscribe()
2017-04-21 15:52:22 +03:00
tophf
a2943852a7
add a hidden "gray out" options for favicons
2017-04-18 21:49:04 +03:00
tophf
2304a8012c
fix setupLivePrefs with multiple edit pages open
2017-04-18 12:47:24 +03:00
tophf
4eae87e606
own page load microopt: reduce blocking on prefs
...
postpone noncritical init stuff to window.load because first access to chrome API takes time to initialize API bindings
2017-04-18 12:47:02 +03:00
tophf
05c05ec6b9
manage: use chrome://favicon
2017-04-18 12:46:36 +03:00
tophf
2086f10af4
prefs.set: deep compare
2017-04-18 12:46:34 +03:00
tophf
8c539dabd6
prefs.set: enforce value type based on defaults
2017-04-18 12:46:34 +03:00
tophf
97c5972348
prefs: keep up-to-date using prefChanged event
2017-04-18 12:46:34 +03:00
tophf
5c8d1950a7
Isolate storage.js in background context
...
To prevent cross-page leaks we need to create/copy prefs and cachedStyles inside the background page context.
* storage.js is now used only in the background page
* messaging.js now contains less bg-specific methods and more common methods. Added saveStyleSafe, deleteStyleSafe which automatically invoke onRuntimeMessage of the current page or just handleUpdate/handleDelete when notify:false
* prefs.js with 'prefs' for background and UI pages: separate objects because a UI page may load before the background page and it can read prefs from localStorage/sync/defaults
2017-04-18 12:46:34 +03:00