Commit graph

8136 commits

Author SHA1 Message Date
Raymond Hill
28637ec6d6
New revision for stable release 2020-10-20 05:44:09 -04:00
Raymond Hill
2b262b24e2
Improve fix for set-constant conflict
Related commit:
- 2546f39568
2020-10-20 05:41:41 -04:00
Raymond Hill
b5b0be0bf8
Avoid trapping already trapped properties
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/156#issuecomment-712249945

When the client code assigned a variable to itself, this
would cause the scriptlet to try to re-trap already
trapped properties.
2020-10-20 05:41:23 -04:00
Raymond Hill
418dc5d8d1
New revision for stable release 2020-10-12 13:44:19 -04:00
Raymond Hill
31121ab388
Update urlhaus-filter URL
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1285
2020-10-12 13:40:50 -04:00
Raymond Hill
cc37bd0edd
Prevent only target (leaf) property from being overtaken
Related discussion:
- https://github.com/uBlockOrigin/uBlock-issues/issues/156#issuecomment-707095193

Related commit:
- 6e010ecc0f
2020-10-12 13:38:23 -04:00
Raymond Hill
b04758a32d
Prevent set-constant properties from being overtaken
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/156#issuecomment-707095193

Additionally, while investigating the issue I removed
code which is no longer needed since content scripts
are now injected in `about:blank` frames since 1.29.0.
2020-10-12 13:37:06 -04:00
pixeltris
13bfbe8fe4
Update for twitch.tv #5184 (#3781) 2020-10-12 13:36:24 -04:00
Raymond Hill
26985f04a9
New revision for stable release 2020-10-07 07:25:43 -04:00
Raymond Hill
f5f4716075
Remove reference to resources.txt 2020-10-07 07:22:51 -04:00
Raymond Hill
432c3dcd23
Fix picker generating overly long candidate cosmetic filters
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/j5tx8x/understand_the_element_blocker_and_feedback/g7wf2q9/

Regression from:
- https://github.com/gorhill/uBlock/commit/9eb455ab5eb2
2020-10-07 07:21:36 -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