Commit Graph

8142 Commits

Author SHA1 Message Date
Raymond Hill b179dc0268
Add more CSS variables for theming
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/401
2020-10-03 06:00:48 -04:00
Raymond Hill 0b37a02e00
Make Firefox dev build auto-update 2020-10-02 12:46:05 -04:00
Raymond Hill 5aca419603
Merge branch 'master' of github.com:gorhill/uBlock 2020-10-02 12:21:31 -04:00
pixeltris 75c58ec7af
Update for twitch.tv #5184 (#3781) 2020-10-02 12:20:30 -04:00
Raymond Hill 002d1ece0d
New revision for dev build 2020-10-02 12:19:37 -04:00
Raymond Hill 266a170beb
Add more CSS variables in preparation of dark mode support
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/401
2020-10-02 12:18:13 -04:00
Raymond Hill db0d200fcb
Allow call to removeCSS in Chromium
Related discussion:
- https://github.com/gorhill/uBlock/issues/3588#issuecomment-702218677
2020-10-02 12:16:47 -04:00
Raymond Hill bafbb7d62c
Remove reference to resources.txt 2020-10-02 10:42:38 -04:00
Raymond Hill e210eae4aa
Make Firefox dev build auto-update 2020-10-01 12:20:39 -04:00
Raymond Hill dc675de50d
New revision for dev build 2020-10-01 10:12:31 -04:00
Raymond Hill 303240c713
Minor changes to dark theme
A whole lot more work needed across all of uBO's user
interface.
2020-10-01 10:09:59 -04:00
jeremyperkin fba5f3d597
Update default.css
- Added values for dark mode
- Using the photon colors and reviewing material design - Put this together.
- Correct fieldset-header-ink
- Removed color variables already listed.
- Removal of !important and revert to some already approved colours.

Signed-off-by: Raymond Hill <rhill@raymondhill.net>
2020-09-30 12:34:52 -04:00
Raymond Hill 46aab2dcc2
Make Firefox dev build auto-update 2020-09-30 10:31:22 -04:00
Raymond Hill 68ac096b39
Import translation work from https://crowdin.com/project/ublock 2020-09-30 10:23:08 -04:00
Raymond Hill b2f5f9b85a
New revision for dev build 2020-09-30 10:06:25 -04:00
Raymond Hill fef375a594
Minor improvements to syntax highlight of static filters
Double-cliking on a URL will cause the whole URL to be
selected, thus making it easier to navigate to this
URL (through your browser "Open in new tab" entry in
contextual menu).

Unrecognized scriptlet names will be highlighted so as
to warn that the filter is not going to be effective.
2020-09-30 10:01:10 -04:00
Raymond Hill 3693755e94
Add fall back URL for manual update of urlhaus-filter
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/j1ehm5/
2020-09-28 16:31:44 -04:00
Raymond Hill dbec71fa09
new revision for stable release 2020-09-26 09:16:07 -04:00
Raymond Hill 846f606d92
Make Firefox dev build auto-update 2020-09-24 12:01:04 -04:00
Raymond Hill 3edec25be0
Import translation work from https://crowdin.com/project/ublock 2020-09-24 10:57:51 -04:00
Raymond Hill 8853d73879
New revision for release candidate 2020-09-24 10:56:16 -04:00
Raymond Hill 15e0778750
Prevent spurious instantiation of procedural filterer
Injecting declarative CSS `:style()` selector could cause
the instatiation of the procedural filterer, even when
there was no actual procedural cosmetic filter to
enforce.

This commit ensure that the procedural cosmetic filterer
is instantiated only when there are actual procedural
filters to enforce.
2020-09-24 10:53:18 -04:00
Raymond Hill 5df51d63d1
Do not syntax-highlight `...` in "My rules" pane 2020-09-23 11:14:09 -04:00
Raymond Hill 872fbfc11a
Make Firefox dev build auto-update 2020-09-23 09:46:08 -04:00
Raymond Hill 237b0aaf5b
new revision for dev build 2020-09-23 09:41:41 -04:00
Raymond Hill 793e2c7896
Further fine tune new `aost` scriptlet 2020-09-23 09:41:00 -04:00
Raymond Hill da1547f33f
Make Firefox dev build auto-update 2020-09-23 07:21:04 -04:00
Raymond Hill d2b00ddaa8
New revision for dev build 2020-09-23 06:58:19 -04:00
Raymond Hill 365b3f7f83
Changes to abort-on-stack-trace as per road testing
Related commit:
- https://github.com/gorhill/uBlock/commit/b735ac6b6aba
2020-09-23 06:54:44 -04:00
Raymond Hill 2caf9a193e
Make Firefox dev build auto-update 2020-09-22 11:25:44 -04:00
Raymond Hill 6b917a5124
new revision for dev build 2020-09-22 11:19:27 -04:00
Raymond Hill 1e91fb8733
Fine tune regex used to detect inline script contexts
Related commit:
- b735ac6b6a
2020-09-22 11:18:12 -04:00
Raymond Hill 2533735c49
Make Firefox dev build auto-update 2020-09-22 10:15:20 -04:00
Raymond Hill 42193838a8
Import translation work from https://crowdin.com/project/ublock 2020-09-22 10:09:35 -04:00
Raymond Hill 24500e389b
New revision for dev build 2020-09-22 10:07:35 -04:00
Raymond Hill b735ac6b6a
Add abort-on-stack-trace scriptlet
This new scriplet has become necessary as a
countermeasure to new bypass mechanisms by
some websites, as discussed with filter list
maintainers.

Also related discussion:
https://github.com/AdguardTeam/Scriptlets/issues/82

Scriptlet: abort-on-stack-trace

Alias: aost

Argument 1:
  The property to trap in order to launch the
  stack trace matching code, ex. Math.random

Argument 2:
  The string (needle) to match against the stack
  trace. If the empty string, always match. There
  is a special string which can be used to match
  inline script context, <inline-script>.

Argument 3:
Whether to log, and if so how:
  Empty string: do not log
  1: log stack trace for all access to trapped
     property
  2: log stack trace for defused access to trapped
     property
  3: log stack trace for non-defused access to
     trapped property
2020-09-22 09:59:04 -04:00
Raymond Hill 45bd8f5bf4
Make Firefox dev build auto-update 2020-09-21 07:40:27 -04:00
Raymond Hill 3a97494d98
New revision for release candidate 2020-09-21 07:27:36 -04:00
Raymond Hill 99f605d28a
Minor code review of subscriber scriptlet 2020-09-21 07:25:24 -04:00
Raymond Hill 1cdffea618
Allow customization of some popup panel CSS properties
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1254

The advanced setting `uiStyles`[1] can be used to control
the minimum width of both the main and firewall panes
in the popup panel:

- `--popup-main-min-width`, default to `18em`
- `--popup-firewall-min-width`, default to `30em`

* * *

[1] https://github.com/gorhill/uBlock/wiki/Advanced-settings#uistyles
2020-09-21 07:18:11 -04:00
Raymond Hill 3c5f6ca101
Make Firefox dev build auto-update 2020-09-20 09:40:59 -04:00
Raymond Hill b3b2fc3b42
Remove unused property 2020-09-20 09:29:17 -04:00
Raymond Hill 761850d21b
Add clarification regarding validity of IP addresses 2020-09-20 09:26:29 -04:00
Raymond Hill 7464294b83
Import translation work from https://crowdin.com/project/ublock 2020-09-20 09:25:24 -04:00
Raymond Hill bcbea83f84
New revision for release candidate 2020-09-20 09:00:28 -04:00
Raymond Hill 6b15e8c423
Fix highlighting of good/bad hostnames in "My rules" pane
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1249#issuecomment-695755743
2020-09-20 08:58:04 -04:00
Raymond Hill 5f8c63e96e
Make Firefox dev build auto-update 2020-09-19 10:10:23 -04:00
Raymond Hill 7067ee904d
Import translation work from https://crowdin.com/project/ublock 2020-09-19 10:05:12 -04:00
Raymond Hill 20b7ed068f
New revision for release candidate 2020-09-19 10:02:40 -04:00
Raymond Hill c181ab2911
Fix ability to set temporary cosmetic filter exceptions
Regression from:
- 35aefed926
2020-09-19 10:00:21 -04:00