+ implement messageBox.close()
+ fix require() with root urls in /dir/page.html
+ limit messageBox focus shift to config-dialog
+ flatten vendor dirs and simplify build-vendor:
+ replace the unicode symbol with ASCII `->`
+ flatten dirs by default to simplify writing the rules and improve their readability
+ rename and sort functions in the order they run
+ use `node-fetch` instead of the gargantuan `make-fetch-happen`
+ use `glob` which is already installed by other deps
Co-authored-by: tophf <tophf@gmx.com>
+ simplify css/html
+ save button and autosave checkbox just like in config-dialog
+ generalize can-close-on-esc
+ add `props` parameter to helpPopup.show
+ deduplicate usage of #help-popup id
+ uniform padding in popups
+ disambiguate style settings from editor options
* Add: style settings
* Change: use radio instead of select for dark/light mode
* Change: x -> Delete
* Change: (in|ex)clusion messages
* Fix: avoid extra space when there is no rule
* Fix: UI in mobile
* Change: delete priority
* Change: use textarea for include/exclude, remove isCodeUpdated
* Fix: separate toggle
* Fix: minor
* Fix: remove codeIsUpdated in styleman
* Add: color-scheme.js
* Add: handle color scheme
* Add: styleManager.setMeta
* Add: make setupLivePrefs work with radio
* Change: drop setupRadioButtons
* Add: UI for schemeSwitcher
* Add: prefer-scheme select in installation page
* Fix: add alarm listener
* Add: display excluded reason in popup
* Fix: rely on data-value-type instead of input name
* Fix: oldValue and newValue should have the same type
* Change: detect media change in content script
* Fix: duplicate capitalize
* Fix: minor
* Update web-ext
* Fix: valueAsNumber doesn't work for all inputs
* Fix: disable colorscheme selection after install
* Fix: API error
* rework/simplify external links
* remove title from svg (i) icon as it randomly shows instead of the parent's title
* ensure original element isn't focused when showing modal
* center more help modals
* shortened the title to "Publish" and fixed the compact mode
* made collapsed <details> share the same line in compact mode
* made hard-coded strings localizable
* IIFE modules instead of generically named globals
* unified and sorted the names of localized messages
* adjusted spacing of header items
* center auth popup to current window
Co-authored-by: Gusted <williamzijl7@hotmail.com>
* Allow dragging the message box
- Allows the message box to be dragged to any position on the screen, so the user can set it to their wishes.
- Something as discussed in #1270.
* Use CSS to prevent user select
* Remove whitespace
* Imagine wasted new lines
* Make it more niece
* Remove unnecessary check
* Fix calculation code
* cursor: move;
* fixup
* Don't declare variable here
* Cap the move to 30px in each side
* I should pay attention to my english lessons
Co-authored-by: tophf <tophf@gmx.com>