Commit Graph

124 Commits

Author SHA1 Message Date
eight
d2b36a168e Kill hidden globals 2018-10-10 23:05:20 +08:00
eight
fd9ab5d6e5 Fix: switch to editor 2018-10-10 00:41:07 +08:00
eight
0489fb3b2f Drop saveStyle 2018-10-07 23:33:51 +08:00
eight
e7ef4948cd Fix: observer is unavailable? 2018-10-06 18:10:58 +08:00
eight
75f2561154 Fix: don't recreate element when style update in popup 2018-10-06 16:38:04 +08:00
eight
fedf844ddd Add: getStylesInfoByUrl 2018-10-06 13:45:37 +08:00
eight
095998f07c Change: switch to msg.js 2018-10-06 13:27:58 +08:00
eight
fa3127d988 Change: switch to msg.js 2018-10-06 13:02:45 +08:00
eight
34497ebe16 WIP: switch to API 2018-10-05 18:47:52 +08:00
eight
24b1eea8a4 Merge branch 'master' of https://github.com/openstyles/stylus into dev-exclusions 2018-10-03 15:00:07 +08:00
tophf
2a52139b6a preserve the focused element when replacing entry in-place 2018-09-13 08:41:15 +03:00
tophf
0cffb564ea don't re-toggle the style back on pressing Spacebar
fixes #501
2018-09-13 08:36:19 +03:00
tophf
3ba9201663 hyphenate long tokens in unreachableAMO message 2018-09-03 20:54:25 +03:00
Rob Garrison
8a6011de8c Attempt to update icon count 2018-07-22 11:21:45 -05:00
Rob Garrison
bfe54ab4c4 Add tab communication 2018-07-22 11:21:45 -05:00
Rob Garrison
3950482f34 Fix undefined error 2018-07-22 11:21:44 -05:00
Rob Garrison
e94c7edb38 Attempt to fix popup exclusion issues 2018-07-22 11:21:44 -05:00
Rob Garrison
2b4a1a5635 Modify input method 2018-07-22 11:21:44 -05:00
Rob Garrison
9f75b69cd8 Include iframe urls in exclusion popup 2018-07-22 11:21:43 -05:00
Rob Garrison
68dfa0153c Add style exclusions. Closes #113 2018-07-22 11:21:43 -05:00
narcolepticinsomniac
70b8a1172f Responsive layout (#410) 2018-07-16 19:37:01 +03:00
tophf
c09f7c341c use more of webRequest info to restrict stripResources 2018-07-06 00:20:01 +03:00
tophf
fbd0b96f49 fixup 7f5a5fec: give iframe time to run our content script 2018-07-05 22:49:47 +03:00
tophf
7f5a5fecbf invoke USO style API in iframe
fixes #417
2018-07-05 22:15:45 +03:00
tophf
626030c42c run a cache cleanup next time if popup is closed too soon 2018-07-05 15:46:01 +03:00
tophf
9992ae3374 explicitly parse a text response into JSON 2018-07-05 11:40:23 +03:00
tophf
7c9fd5e611 spoof USO referrer for their style search API
fixes #413
2018-07-04 15:39:27 +03:00
tophf
d02d93f476 switch "Shortcuts" to "Wiki" in the popup
fixes #409
2018-07-02 18:28:38 +03:00
tophf
e80efa7604 FF: hotkeys dialog 2018-04-12 21:28:45 +03:00
tophf
9969266379 FF60+: show additional info in popup on AMO
#312
2018-03-23 01:44:40 +03:00
tophf
4901e97f9f open USO style settings even if the site tab is auto-activated 2018-03-13 18:35:28 +03:00
tophf
5c04e1100d hide the weird gap in Chrome 66+, see https://crbug.com/821143 2018-03-13 00:14:59 +03:00
tophf
989df35b05 live preview in editor
* refreshAllTabs was extracted
* ...and fixed to use each frame's url when getting the styles
2018-01-12 00:54:36 +03:00
tophf
bced23052c remove some unnecessary deepCopy calls 2018-01-05 14:05:35 +03:00
tophf
1eea8fdbbf fixups for refreshAllTabs 2018-01-03 18:26:31 +03:00
tophf
9165e6c1e2 unstick #search-results-error from the buttons block 2018-01-03 14:07:18 +03:00
tophf
3418ac9cb9 FF: support private/container tabs 2018-01-03 10:43:56 +03:00
tophf
441de984b0 make action buttons in popup auto-fit contents
several languages have labels of wildly different lengths so we try to maintain the proportion
2017-12-29 20:27:37 +03:00
Rob Garrison
5a07bbb1e3 Add manager sort block 2017-12-25 12:17:18 +03:00
tophf
4946aad684 FF: allow access to AMO in FF (actually works in 59+)
fixes #312
2017-12-22 08:36:10 +03:00
tophf
4ddd78d40a reuse global.css for button style 2017-12-19 08:48:55 +03:00
tophf
3178ee9f10 more reliable centering of the popup in FF 2017-12-19 08:48:55 +03:00
tophf
78080df6fd show "click to uninstall" overlay, hide install/delete buttons 2017-12-19 08:48:54 +03:00
tophf
80926c8d7e show download errors inline 2017-12-19 05:29:21 +03:00
tophf
8dbdbe988f fixup dc126e1b: more adjustments for persistent child in #installed
* use .entry collection instead of installed.children
* adjust CSS counters

also:

* KeyboardEvent#code is checked first now - available since Chrome48 and FF32
* synthetic click event is cancelable, otherwise FF would open the editor in popup
2017-12-14 06:08:28 +03:00
tophf
1283e85a8e update USO style install counter
the USO site reports style installation unconditionally even if you uninstall it in 5 seconds, but we do it only if the style isn't uninstalled during 60 seconds while the popup is open - thus we exclude previewing of styles, which is a very popular use case
2017-12-14 01:46:32 +03:00
tophf
f048649e58 keep scroll position on install/delete 2017-12-14 01:13:16 +03:00
tophf
78c14dd93c also apply styleDeleted/Added to invisible search results 2017-12-14 01:08:05 +03:00
tophf
3ee502c3a4 fixup/cosmetics 2017-12-13 23:17:45 +03:00
tophf
4601a136a9 fix the popup width bug in FF when scrollbar is shown
* scrollbar width is not subtracted in FF from the actual width
* in some versions of FF the paddings should be added on both sides
2017-12-13 23:13:35 +03:00