Commit Graph

9 Commits

Author SHA1 Message Date
eight
057111b171 Update usercss API 2018-10-07 22:59:31 +08:00
eight
34497ebe16 WIP: switch to API 2018-10-05 18:47:52 +08:00
tophf
654f63b894 remove unused code
see #348
2018-02-15 16:48:37 +03:00
tophf
9aa382ebf5 disconnect an orphaned chrome.runtime message/port listener 2018-01-10 19:50:29 +03:00
tophf
a339b50e27 allow live-reload without reinstalling 2018-01-04 13:36:27 +03:00
tophf
c9e60dc19b t() is not defined in content scripts 2018-01-04 11:13:40 +03:00
tophf
3418ac9cb9 FF: support private/container tabs 2018-01-03 10:43:56 +03:00
tophf
aedb02bbb1 install usercss from raw.githubusercontent.com 2017-11-25 18:24:37 +03: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