tophf
5ef347a4d9
LESS preprocessor
...
closes #373
2018-04-19 20:02:23 +03:00
tophf
0614aa2eee
new editor option: selectByTokens
...
implements #361 except for toggling via Ctrl
2018-04-18 19:33:36 +03:00
tophf
8cad7d61eb
scrollElementIntoView: skip if orphaned
2018-04-17 22:34:18 +03:00
tophf
32f05861e3
FF: register hotkeys on startup; reset if empty
2018-04-13 14:30:36 +03:00
tophf
e80efa7604
FF: hotkeys dialog
2018-04-12 21:28:45 +03:00
tophf
5b9fd4454b
$create should read opt.appendChild if selector is string
2018-04-12 20:42:01 +03:00
tophf
2a75159d2a
USO bug workaround: collapse long URL vars
...
#195
2018-04-12 09:13:55 +03:00
tophf
009970965f
let openURL() replace browser-specific New/empty Tab Page
2018-03-30 03:23:21 +03:00
tophf
9969266379
FF60+: show additional info in popup on AMO
...
#312
2018-03-23 01:44:40 +03:00
tophf
89d4bb1ed4
handle chrome:// scheme in openURL()
2018-03-22 03:09:20 +03:00
tophf
f2d49ecbb9
resolve activateTab() to tab instead of [tab, window]
2018-03-14 22:00:25 +03:00
tophf
06ded49131
openURL+message: use onTabReady instead of repeated sending
...
because the tab may take many seconds to start loading depending on connectivity etc.
2018-03-14 05:58:28 +03:00
tophf
de0920da53
enable 'editor.autoCloseBrackets' in fresh installs by default
...
because now that we have LivePreview enabled by default typing a single { breaks the style until a closing } is entered.
2018-03-13 20:43:19 +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
34799263eb
fixup 259f3732: only switch to POST if 'body' wasn't customized
2018-03-12 22:39:19 +03:00
tophf
259f373207
properly cut URL#href on '?' when sending a POST request
...
fixes #365
2018-03-12 21:41:25 +03:00
tophf
dbba338229
report line:ch in live-preview errors for usercss
2018-03-11 16:47:27 +03:00
tophf
0ba26072f7
restore Chrome 49 compatibility: remove "u" flag in RegExp
...
since it wasn't used globally (e.g. vendor code) it made no real difference
2018-02-28 05:15:28 +03:00
tophf
a8769e375b
browser.runtime.getBrowserInfo was added in FF 51
2018-02-25 16:51:07 +03:00
tophf
95a24cd29b
catch fatal parsing errors
2018-01-30 18:59:28 +03:00
tophf
ca5f8c941b
don't refresh own tabs twice
...
fixes #336
2018-01-29 04:37:24 +03:00
tophf
10b82ae7cc
actually import settings from sync
...
fixes #331
2018-01-24 03:47:26 +03:00
tophf
4493c9e9f0
don't double-process 'styleUpdated' in manager
2018-01-14 18:18:08 +03:00
tophf
bb34538da0
smart invalidateCache: try to update filters in-place
2018-01-12 00:54:40 +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
b754635b81
lenient parsing of invalid single \ in regexp() function
2018-01-11 15:29:52 +03:00
tophf
022e588c97
allow errors in usercss when saving in editor and live-reloading
2018-01-07 16:36:30 +03:00
tophf
2036819442
reuse parserCache on subsequent saving of usercss
2018-01-07 12:31:23 +03:00
tophf
d2cba96e10
refactor CSSLint
...
* reduce linting delay
* parse mozformat in worker
* allow empty functions in 'filter:' property
https://drafts.fxtf.org/filter-effects/#supported-filter-functions
* support comma-separated list in :lang()
* strip vendor prefix in isLiteral()
2018-01-07 12:31:23 +03:00
tophf
807ea6aa70
extract colorconverter.js
2018-01-07 11:52:43 +03:00
tophf
71c3e0c7a8
extract and improve dummy chrome.storage in FF
...
* chrome.storage.onChanged supported in own pages
* values are stored in the background page
* chrome.storage in own pages accesses that background storage
2018-01-04 17:04:23 +03:00
tophf
2374c88e1b
extract styleSectionsEqual
2018-01-04 16:43:54 +03:00
tophf
e6d04fad6d
meta value starts after a name on the same line
2018-01-04 11:10:59 +03:00
tophf
28e9e38dad
remove 'dysfunctional' page
2018-01-03 10:44:12 +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
46a3038394
don't add soft hyphens at the end of text
2017-12-29 23:37:17 +03:00
tophf
0f96e2fa4d
set language for CSS :lang and [FF-only] hyphenation
2017-12-29 18:19:35 +03:00
tophf
5ac3662699
fixup 5a07bbb1: parse ISO date strings
...
#319
2017-12-29 17:52:47 +03:00
tophf
8c5ad8fe4b
postpone addTooltipsToEllipsized more to avoid accidental layout
2017-12-26 08:46:05 +03:00
Rob Garrison
5a07bbb1e3
Add manager sort block
2017-12-25 12:17:18 +03:00
tophf
2d12bfd1f5
l10n: actually stop observing
2017-12-22 11:22:02 +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
154187f1bc
use offsetWidth to decide if the button text is ellipsized
2017-12-19 08:48:55 +03:00
tophf
6607455e8f
silence eslint; switch shirt-circuiting to single-line if/else
2017-12-18 10:27:50 +03:00
tophf
4a924d6aa8
add 'textarea' to focusAccessibility.ELEMENTS
2017-12-18 10:27:50 +03:00
tophf
50d3dbe394
expose prefs.defaults
2017-12-18 10:27:50 +03:00
tophf
fefe82fd54
remove what-input, use own implementation, rebase on master
2017-12-13 03:27:10 +03:00
tophf
510ae91ac0
don't insert ­ before whitespace
2017-12-12 03:18:37 +03:00
tophf
3410a58cd9
don't add ­ on word boundaries and strip it from tooltips
...
addresses #300
2017-12-11 22:39:22 +03:00