Commit Graph

18 Commits

Author SHA1 Message Date
tophf
f337e18515 recognize usercss @updateURL
* installation URL is preferred - same behavior as before

* @updateURL is used when the style was drag'n'dropped into the manage page
  because there's no real URL in this case

* install-usercss page shows the new update URL, which is set as per the above,
  under the checkbox that enables updates
2017-12-06 22:35:19 +03:00
tophf
a6f63d096e extract checkboxes to global.css, fixes 2017-12-05 04:39:29 +03:00
narcolepticinsomniac
7339643ec3 Custom checkbox and select elements 2017-12-05 04:39:29 +03:00
Rob Garrison
3c0b14a477 Install usercss (#269)
install-usercss: restyle "Install style" button
2017-12-02 02:43:01 +03:00
narcolepticinsomniac
95ebe96bc2
Proper IDs like other pages 2017-11-25 20:53:21 -05:00
tophf
978e5ca9f0 sendMessage()
Promise mode [default]:
  - rejects on receiving {__ERROR__: message} created by
    background.js::onRuntimeMessage
  - suppresses chrome.runtime.lastError
    by browserAction.setText which lacks a callback param in chrome API

Callback mode:
  - enabled by passing a second param
  - doesn't suppress chrome.runtime.lastError
2017-11-25 18:00:38 +03:00
tophf
55360c731a move helpers and defaults to the end when everything is ready 2017-11-24 13:19:17 +03:00
tophf
a30ef3ed14 restore the original match-highlighter and monkeypatch it 2017-11-24 13:19:14 +03:00
tophf
8c5471092c rework install-usercss: CSS, layout, warnings 2017-11-24 13:19:10 +03:00
tophf
d767ad7a8c autoLoadMode -> loadScript; chain to avoid flicker on load 2017-11-24 13:19:08 +03:00
tophf
0ded91d987 apply extension userstyles to install-usercss page 2017-11-18 12:04:12 +03:00
eight
ecc306dd1f Change: move header to the top 2017-11-11 13:30:34 +08:00
eight
4a8894de2e Add: use messageBox in install page 2017-11-09 12:26:50 +08:00
eight
fa1c55bc2a Fix: EOF 2017-11-09 09:12:13 +08:00
eight
13ca45a104 Fix: reorder global comment 2017-11-01 11:16:46 +08:00
eight
098dc10f85 Fix: pull out runtimeSend 2017-11-01 11:15:11 +08:00
eight
c2eadda708 Add: live-reload 2017-09-25 20:01:50 +08:00
eight
cb7aaa7111 Fix: move to root 2017-09-24 17:18:38 +08:00