tophf
a339b50e27
allow live-reload without reinstalling
2018-01-04 13:36:27 +03:00
tophf
3418ac9cb9
FF: support private/container tabs
2018-01-03 10:43:56 +03:00
tophf
5bc4206593
reuse existing usercss installer tab
...
A few additional checks were needed to circumvent FF bugs
so openURL was refactored to keep the code readable
2017-12-31 17:59:32 +03:00
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
1273903b05
import usercss files drag'n'dropped into the manage page
2017-12-06 11:03:43 +03:00
tophf
c0c60fb7a2
add a terse invocation syntax for $element and rename it to $create
2017-12-04 08:57:12 +03:00
tophf
6e142a7444
install-usercss: show error position and source
...
fixes #276
2017-12-03 23:29:36 +03:00
tophf
0de69e306d
code refactor: add $.remove() and $$.remove()
2017-12-02 19:54:54 +03:00
Rob Garrison
3c0b14a477
Install usercss ( #269 )
...
install-usercss: restyle "Install style" button
2017-12-02 02:43:01 +03:00
tophf
b762f48135
usercss install: reuse current tab for editor when possible
2017-11-29 17:59:01 +03:00
narcolepticinsomniac
efecfd926a
Same SVG selector for install page
2017-11-29 05:37:37 -05:00
tophf
bf13383c93
workaround for URLSearchParams not stripping "?" in chrome 49-51
2017-11-28 22:19:00 +03:00
tophf
6aef6cdcd7
0 is a valid tab id
2017-11-25 20:24:15 +03:00
tophf
ea277bcf4c
show a spinner on usercss install page while fetching code
2017-11-25 18:24:37 +03:00
tophf
e7175c261a
don't confirm on clicking "install" for a new usercss
2017-11-25 18:24:37 +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
tophf
8c5471092c
rework install-usercss: CSS, layout, warnings
2017-11-24 13:19:10 +03:00
eight
d59f24caa6
Change: a simpler installUpdateFromLabel
2017-11-11 13:30:41 +08:00
eight
ae50cbe12a
Refactor: move alert/confirm util to msgbox.js
2017-11-09 14:35:10 +08:00
eight
d03c752dd5
Fix: promise indent
2017-11-09 14:11:26 +08:00
eight
4a8894de2e
Add: use messageBox in install page
2017-11-09 12:26:50 +08:00
eight
7266c38d56
Fix: inline svg
2017-11-09 09:12:13 +08:00
eight
d981660983
Fix: drop getParams
2017-11-01 11:17:00 +08:00
eight
098dc10f85
Fix: pull out runtimeSend
2017-11-01 11:15:11 +08:00
eight
79b6266cf9
Fix: no new line before use strict
2017-11-01 11:13:57 +08:00
eight
62748b3b79
Fix: use arrow function for IIFE
2017-10-30 01:22:10 +08:00
eight
33607e74a7
Fix: let makeAuthor use makeLink
2017-10-12 16:15:45 +08:00
eight
eec52ad239
Revert "Add: detail dialog. Move makeAuthor to dom.js. Move external.svg into"
...
This reverts commit 5b701d06ad
.
2017-10-12 16:10:17 +08:00
eight
7ca993821a
Change: always set updateUrl
2017-10-11 21:45:17 +08:00
eight
5b701d06ad
Add: detail dialog. Move makeAuthor to dom.js. Move external.svg into
...
images.
2017-10-11 14:52:42 +08:00
eight
1d1c7da19e
Fix: hide the header in error page
2017-10-09 01:05:44 +08:00
eight
2f3c477d96
Fix: openEditor has no response
2017-10-09 00:44:09 +08:00
eight
f255631a0b
Fix: live-reload doesn't send style id
2017-10-07 18:14:49 +08:00
eight
40a1781a53
Fix: TypeError when missing author meta
2017-10-07 18:04:37 +08:00
eight
f194155830
Add: close source tab after install
2017-10-06 16:33:50 +08:00
eight
b866688a87
Add: parse author string
2017-10-06 16:33:48 +08:00
eight
6636d3382b
Fix: install error when live-reload is disabled
2017-10-04 16:32:44 +08:00
eight
c2eadda708
Add: live-reload
2017-09-25 20:01:50 +08:00
eight
04ebc837e2
Fix: use closeCurrentTab
2017-09-25 18:45:44 +08:00
eight
7365a8bada
Fix: various fixes
2017-09-25 18:43:55 +08:00
eight
587feb3817
Fix: externalLink might be null
2017-09-25 18:21:11 +08:00
eight
24cd85688f
WIP: install page + editor
2017-09-24 16:54:21 +08:00
eight
18fd15317e
WIP: install page
2017-09-24 11:39:04 +08:00