Commit Graph

2723 Commits

Author SHA1 Message Date
tophf
358e8e034f code cosmetics: add invokeOrPostpone() 2017-06-27 15:15:49 +03:00
tophf
1c1a9f2804 fixup e199e1b3 for non-e10s FF: moar timeouts! 2017-06-27 12:55:47 +03:00
tophf
9163a856f6 lazify and fix refreshAllTabs 2017-06-27 12:39:51 +03:00
tophf
e199e1b3c7 FF-e10s bug workaround: do export via iframe 2017-06-27 12:14:22 +03:00
tophf
e3e1ecf2d3 don't precompile regexps in storage.js (no gain) 2017-06-25 13:39:22 +03:00
tophf
93a4f4704f code cosmetics 2017-06-25 13:13:07 +03:00
tophf
c0fe8dbf43 Move styles after <head> once it appears; fixes #103 2017-06-22 12:16:39 +03:00
tophf
028ac1d299 editor: convert string to int; fixes #102 2017-06-21 22:05:21 +03:00
tophf
5485fbf8b3 optionsUI: more flexboxes and relative widths
* also center the UI vertically in Opera
* allow body width to grow up to 800px in FF/Opera/etc
* use :: in pseudo selectors
2017-06-19 16:00:45 +03:00
tophf
2240a0895e editor: autocomplete on typing 2017-06-18 17:04:14 +03:00
tophf
7443a4cb89 ensure BG is initialized in onBackgroundReady() 2017-06-18 17:04:13 +03:00
tophf
f603d9b61f simplify html for editor options: reuse the id 2017-06-18 15:47:15 +03:00
tophf
8e4b2fbbb0 manage: hardcode edit link; fixes #29 broken in 7084dd12 2017-06-18 15:47:15 +03:00
tophf
3128c7f063 editor: keep 's-resize' cursor over code box 2017-06-18 12:28:39 +03:00
tophf
c4f871b4ed editor: use MouseEvent.pageY in resizeGrip 2017-06-18 12:27:00 +03:00
tophf
050109428c USO bug workaround: generalize getStyleURL() 2017-06-17 14:55:34 +03:00
tophf
fba85b36cc promisify chrome.tabs.query as queryTabs() 2017-06-17 13:00:10 +03:00
tophf
b4e00cd892 Lazify notifyAllTabs() and injectCS()
* notifyAllTabs: the active tab gets notified immediately, the rest lazily
* notifyAllTabs + injectCS: don't notify lazy-loaded tabs in FF
2017-06-17 09:33:32 +03:00
Jeremy Schomery
c5a340e44e version 1.1.0 2017-06-14 09:30:19 +04:30
tophf
90275ae47a Help buggy USO support Linux Chromium 2017-06-14 00:20:35 +03:00
tophf
218c6adfa0 patch buggy USO site pagination links in category mode 2017-06-11 15:01:48 +03:00
tophf
22a2086535 FF: suppress pingCS() errors in browser console 2017-06-10 21:33:37 +03:00
tophf
2687d1e167 FF bug workaround: retranslate CSS content 2017-06-10 14:08:03 +03:00
tophf
2e86c95842 csslint: fire startdocument on { 2017-06-10 12:43:26 +03:00
Jeremy Schomery
0817a03b61 renaming the repository name from stylish-chrome to stylus 2017-06-10 11:29:17 +04:30
tophf
972968b109 FF popup has 2 buttons so each should be 50% 2017-06-09 01:46:25 +03:00
tophf
d36489216c Don't save maximized editor window size&pos
This fixes the bug with reloading the editor tab in a maximized state: previously the window was losing its state.

Assuming a detached editor window normally is expected to have a smaller size and custom position, the user may occasionally maximize it for convenience, in which case we don't save its size and position.

Even if this assumption is wrong, it's easy to manually resize the window to fill the entire screen so that the size/position are remembered.
2017-06-06 16:44:16 +03:00
tophf
4559162d45 Alt-Enter in the editor to toggle&save the style 2017-06-06 10:56:49 +03:00
tophf
6df2392132 FF bug workaround for tabs.query with moz-extension:// 2017-06-06 10:33:45 +03:00
tophf
ac5e9b965a saveStyle's codeIsUpdated can be true or false, not undefined 2017-06-06 04:40:08 +03:00
Jeremy Schomery
19754a5a90 updating es locale 2017-06-05 15:45:07 +04:30
tophf
7a4f499e0d patch buggy USO site to use actual style settings 2017-06-05 09:37:00 +03:00
tophf
cd84a33a53 fixup: "Install style" should not persist on click 2017-06-05 09:36:51 +03:00
tophf
5a67d926da manage: fix toggling a style when filtering by search
Previously a style entry would disappear when toggled on manage page with search filter applied because filterContainer() altered the original "container" parameter.
2017-06-04 12:22:51 +03:00
tophf
2b1d874236 Update style settings on USO without page reload 2017-06-04 10:39:27 +03:00
tophf
be9cfe072d openURL should not redirect incognito NTP to chrome URLs 2017-06-03 16:57:52 +03:00
tophf
cec649e0ee openURL should not open own pages in incognito tabs
We're using the default "spanning mode" which doesn't support it
2017-06-03 16:52:58 +03:00
Jeremy Schomery
14e8dedded version 1.0.9 2017-05-30 16:21:41 +04:30
tophf
1098f2666c beautifier: reworded "Undo in all sections" label 2017-05-27 11:42:54 +03:00
tophf
8bbab9e0e1 beautify: don't add extra \n after comments 2017-05-27 11:42:54 +03:00
tophf
ddc5cc0ccf beautify: option for indenting conditional blocks 2017-05-27 11:42:54 +03:00
tophf
26f84c5852 play safe in *Safe() as BG gets defined only in .then 2017-05-23 22:31:40 +03:00
tophf
0440073853 restore style code in popup::onMessage 2017-05-23 22:28:45 +03:00
narcolepticinsomniac
8e6006e705 Transparent corners for small icons
#7
2017-05-19 17:01:54 -04:00
narcolepticinsomniac
70695df64e fixup indent? 2017-05-19 04:48:43 -04:00
narcolepticinsomniac
0744c9e658 Fixup indent 2017-05-19 04:44:43 -04:00
narcolepticinsomniac
8697b3b9a6 Fixup indent (looks correct in editor not in diff) 2017-05-19 04:41:11 -04:00
narcolepticinsomniac
85fe8e876e Remove translation for changed popup message 2017-05-19 04:32:42 -04:00
narcolepticinsomniac
3d12f3e174 Remove translation for changed popup message 2017-05-19 04:29:18 -04:00
narcolepticinsomniac
c7bc86c491 Remove translation for changed popup message 2017-05-19 04:27:48 -04:00