tophf
41e2d43ecc
fixup 7c9fd5e6: the enclosed code had nested backticks!
2018-07-05 22:49:28 +03:00
tophf
7f5a5fecbf
invoke USO style API in iframe
...
fixes #417
2018-07-05 22:15:45 +03:00
tophf
d8b776bedf
try installing from full code if 'sections' is empty in style json
...
fixes #414
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
2c22d98421
code cosmetics; old typo fixup
2018-07-04 01:22:49 +03:00
tophf
2bb00d2559
spoof Stylish installation check on USO
...
see #379
2018-07-04 01:22:46 +03:00
tophf
9aea35799d
tweak USO handshake to match Stylish
...
fixes #379
2018-04-30 19:31:43 +03:00
tophf
2a75159d2a
USO bug workaround: collapse long URL vars
...
#195
2018-04-12 09:13:55 +03:00
tophf
1d7437d181
revert 07e1d3b9
, USO still can't handle POST properly
2018-04-12 07:37:51 +03:00
tophf
16d46edfba
increase USO style installation/update timeout
...
#195
2018-04-11 12:55:23 +03:00
tophf
07e1d3b902
USO can handle POST now
...
#195
2018-04-11 12:55:23 +03:00
tophf
40054902e9
USO can't handle POST requests for style json
2018-03-13 17:23:47 +03:00
tophf
fa2b6f07ce
send style status to USO even more insistently
...
see #354
2018-03-02 18:08:25 +03:00
tophf
db256f73f5
send style status to USO twice if #install_button reappears
...
see #354
2018-03-02 15:55:39 +03:00
tophf
d4b4b07ab3
[Chrome] restore the install/update button functionality on USO
...
resolves #354 in Chrome only since the USO site is broken in FF
(the site checks for chrome-extension:// URL which should be moz-extension://)
2018-02-27 21:30:29 +03:00
tophf
589cc53ad9
adjust selector for "config on homepage" of USO styles
2018-02-23 15:14:10 +03:00
tophf
e84afd9a20
fix a copypaste error
2018-02-03 06:31:43 +03:00
tophf
9aa382ebf5
disconnect an orphaned chrome.runtime message/port listener
2018-01-10 19:50:29 +03:00
tophf
3418ac9cb9
FF: support private/container tabs
2018-01-03 10:43:56 +03:00
tophf
6607455e8f
silence eslint; switch shirt-circuiting to single-line if/else
2017-12-18 10:27:50 +03:00
tophf
0a865318a4
popup: "configure" opens USO page and expands the settings area
2017-12-10 07:56:41 +03:00
tophf
9486c7f3df
don't report usercss as installed on USO if homepage matches
2017-12-09 04:43:02 +03:00
tophf
7de3e37a51
show "Style installed" in manager for styles added while it's open
2017-12-02 07:07:12 +03:00
tophf
bf13383c93
workaround for URLSearchParams not stripping "?" in chrome 49-51
2017-11-28 22:19:00 +03:00
tophf
fb3554a351
simplify orphanCheck; use IIFE; fix comm issues
2017-11-26 04:24:23 +03:00
tophf
babeb695c1
kick out orphaned script
2017-11-26 00:23:38 +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