Commit Graph

8477 Commits

Author SHA1 Message Date
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
Raymond Hill 07933b033d
Make Firefox dev build auto-update 2020-09-18 10:41:15 -04:00
Raymond Hill df42011345
Import translation work from https://crowdin.com/project/ublock 2020-09-18 10:30:55 -04:00
Raymond Hill 8b7049f256
New revision for release candidate 2020-09-18 10:26:43 -04:00
Raymond Hill 3f299ef623
Improve validation of hostname in `domain=` and `denyallow` options
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1249

For "exotic" hostname values, the browser's own API will be
used to ultimately validate hostname values.
2020-09-18 10:23:02 -04:00
Raymond Hill 7e906b33c5
Add more tests for `domain=` and `denyallow=` options 2020-09-18 09:18:32 -04:00
Raymond Hill 8d5086cfd5
Make Firefox dev build auto-update 2020-09-16 11:00:52 -04:00
Raymond Hill e6201309d6
New revision for release candidate 2020-09-16 07:03:18 -04:00
Raymond Hill 7ed543db0d
Fine tune visual of slider widgets in element picker
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/851
2020-09-16 07:01:16 -04:00
Raymond Hill ec6ab74356
Import translation work from https://crowdin.com/project/ublock 2020-09-16 07:00:47 -04:00
Raymond Hill ad7b1ae95d
Make Firefox dev build auto-update 2020-09-14 15:56:14 -04:00
Raymond Hill 06ddc945cd
Add `fanboy.co.nz` as valid location for subscription links 2020-09-14 15:46:24 -04:00
Raymond Hill 1b48dcba3a
New revision for release candidate 2020-09-14 15:38:51 -04:00
Raymond Hill bd949ca295
Add `forums.lanik.us` as a valid location for subscription links
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1246
2020-09-14 15:37:53 -04:00
Raymond Hill a089310595
Make Firefox dev build auto-update 2020-09-14 15:11:16 -04:00
Raymond Hill a19012b6af
New revision for release candidate 2020-09-14 15:02:00 -04:00