Commit Graph

8107 Commits

Author SHA1 Message Date
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
Raymond Hill 328d6a09f4
Fix broken styling of selectors with pseudo elements
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/382

Additionally, fix minor parsing issues with AdGuard's
cosmetic filters.
2020-09-14 14:58:25 -04:00
Raymond Hill 601ec67ab6
Make Firefox dev build auto-update 2020-09-14 09:10:16 -04:00
Raymond Hill 06f476fb60
New revision for release candidate 2020-09-14 09:05:14 -04:00
Raymond Hill d292c72a5a
Import translation work from https://crowdin.com/project/ublock 2020-09-14 08:48:37 -04:00
Raymond Hill fe9797cacc
Add easylist.to as a valid target for subscriber content script 2020-09-14 08:43:51 -04:00
Raymond Hill 9ab105b400
Make Firefox dev build auto-update 2020-09-13 13:51:03 -04:00
Raymond Hill 7bc441b994
New revision for dev build 2020-09-13 13:42:41 -04:00
Raymond Hill 714f07dc25
Work around instances of over-encoded subscription URLs
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/763#issuecomment-691696716
2020-09-13 13:41:25 -04:00
Raymond Hill 066f06745b
Make Firefox dev build auto-update 2020-09-13 11:55:33 -04:00
Raymond Hill 426655eb25
Import translation work from https://crowdin.com/project/ublock 2020-09-13 11:49:57 -04:00
Raymond Hill 212b44135f
New revision for dev build 2020-09-13 11:47:38 -04:00
Raymond Hill 4c7635514a
Fine tuning changes to click-to-subscribe code
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/763#issuecomment-691682195

Additionally, enable an existing subscription when
subscribing again to it.
2020-09-13 11:44:42 -04:00
Raymond Hill 59f491c500
Make Firefox dev build auto-update 2020-09-13 08:26:07 -04:00
Raymond Hill 075d39828f
Import translation work from https://crowdin.com/project/ublock 2020-09-13 08:18:58 -04:00
Raymond Hill 1c101f7c6b
New revision for dev build 2020-09-13 08:13:09 -04:00
Raymond Hill e60042595c
Revisit the behavior of the click-to-subscribe content script
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/763

Changes:

From now on, uBO will allow click-to-subscribe on only
a few select domains, currently:
- https://filterlists.com/
- https://github.com/
- https://github.io/

More domains can be added if and only the demonstration
is made that more than a marginal number of filter lists
can be subscribed from those domains.

The browser alert box is no longer used to confirm
subscription to a filter list. Instead, the asset
viewer has been expanded to serve that purpose. This
way, users can peruse at the content of a filter list
before subscribing to it.
2020-09-13 08:01:53 -04:00
Raymond Hill da7ff2b382
Remove now pointless use of `important` in CSS styles
Now that the element picker user interface is isolated
frompage content world, there is no need to use the
`important` modifier for the element picker's own
CSS styles.
2020-09-12 11:36:30 -04:00
Raymond Hill 05893a6c16
Fix swipe right to exit zapper/picker on touch displays
Regression from:
- d23f9c6a8b
2020-09-12 11:29:39 -04:00
Raymond Hill 218f774ba0
Fix broken localized string in some languages
Reported as feedback at:
- https://crowdin.com/translate/ublock
2020-09-12 10:37:08 -04:00
Raymond Hill 3bf9c3c5e0
Make Firefox dev build auto-update 2020-09-12 08:35:55 -04:00