Raymond Hill
3839d05a99
Auto-update most obsolete asset first
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1165
2020-07-21 07:50:36 -04:00
Raymond Hill
4832552950
New revision for dev build
2020-07-21 07:15:27 -04:00
Raymond Hill
f55c891d54
Avoid returning a value when injected as content script
2020-07-20 17:28:33 -04:00
Raymond Hill
bf01fc737d
urlhaus blocklist CDNs: remove githack, add github, gitlab
2020-07-20 12:52:41 -04:00
Raymond Hill
c805950ecf
Fix the logging of cosmetic filters in about:blank frames
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1164
2020-07-20 08:27:00 -04:00
Raymond Hill
85aef306d1
vAPI.tabs.executeScript() can't throw
...
Related commit:
- aed850978e
No need to mind rejected promise after all,
vAPI.tabs.executeScript() is designed to
not fail -- I had forgotten about this.
2020-07-19 18:38:35 -04:00
Raymond Hill
8d0f84b37a
Make Firefox dev build auto-update
2020-07-19 17:55:36 -04:00
Raymond Hill
e200d9c31c
New revision for dev build
2020-07-19 17:49:10 -04:00
Raymond Hill
aed850978e
Mind discarded status of tabs when internally handling them
...
Related discussion:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1652925#c19
Content scripts should not be injected in discarded tabs, and
a discarded tab should treated as if it does not exist.
2020-07-19 17:41:13 -04:00
Raymond Hill
3b46b2532d
Make Firefox dev build auto-update
2020-07-19 09:15:22 -04:00
Raymond Hill
a400799115
New revision for dev build
2020-07-19 09:09:19 -04:00
Raymond Hill
221983646e
Injects user styles and content scripts in `about:blank` frames
...
Related issues:
- https://github.com/uBlockOrigin/uBlock-issues/issues/688
- https://github.com/uBlockOrigin/uBlock-issues/issues/1164
`match_about_blank` is now used for content scripts and
user styles.
2020-07-19 09:06:19 -04:00
Raymond Hill
fb0a442a9a
Fix improperly initialized counter
...
Related discussion:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1167
Related commit:
- feabfe3793
2020-07-19 09:01:45 -04:00
Raymond Hill
c33de41660
Support multiple trappers to same property in set-constant
...
Related issues:
- https://github.com/uBlockOrigin/uBlock-issues/issues/156
- https://github.com/uBlockOrigin/uBlock-issues/issues/1162
Take into account that a trapped property may have been
already trapped, and if so honour previous trapper
getter/setter.
2020-07-19 08:16:40 -04:00
Raymond Hill
9880b9c18f
Fix too small magnifier
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1092
As a result of earlier redesign, the magnifier ended
up being too small. The size of the magnifier will now
be dependent on the default font size instead of the
parent font size.
2020-07-18 09:50:59 -04:00
Raymond Hill
0549bfaf00
Do not implicitly strict-block when pattern contains no token char
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1147
2020-07-18 09:40:38 -04:00
Raymond Hill
90868e873c
Make Firefox dev build auto-update
2020-07-18 08:26:08 -04:00
Raymond Hill
f69231d2c2
Import translation work from https://crowdin.com/project/ublock
2020-07-18 07:59:43 -04:00
Raymond Hill
0c955f57b9
New revision for dev build
2020-07-18 07:49:13 -04:00
Raymond Hill
feabfe3793
Do let grow subframe dictionary grow unbound
...
Related discussion:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1652925
It's not clear the code here will fix the reported
issue, but I did identify that the subframe
dictionary of a very long-lived web page can
theoretically grow unbound.
2020-07-18 07:44:26 -04:00
Raymond Hill
cf31d83acf
Remove infinite iframe creation
...
Bad idea after all, this can cause bandwidth
abuse to GitHub.
2020-07-17 21:16:38 -04:00
Raymond Hill
bc60e6c4a2
Shorten URL
2020-07-17 20:27:17 -04:00
Raymond Hill
3e55ffff13
Add infinite iframe-creation test
...
Location:
https://gorhill.github.io/uBlock/tests/infinite-iframe-creation.html
The test is useful to ensure no runaway memory consumption
in uBO's main process, and is also useful as rough performance
assessment, i.e. we want uBO's main process to be low CPU, etc.
Useful to use with Chromium's Task Manager, which reports both
memory and CPU usage.
Typically to be used with uBO with default settings/lists.
2020-07-17 16:03:49 -04:00
Raymond Hill
6516834051
Add test cases to static filtering checklist
2020-07-17 10:16:40 -04:00
Raymond Hill
3789259fc9
Consider an empty pattern with anchors to be dubious
...
Related issue:
- https://github.com/ryanbr/fanboy-adblock/issues/1384
2020-07-17 10:08:08 -04:00
Raymond Hill
7b55f0fbf1
Make Firefox dev build auto-update
2020-07-16 16:45:35 -04:00
Raymond Hill
321eae7417
Remove stray empty line
2020-07-16 16:39:07 -04:00
Raymond Hill
219bd1bbf9
New revision for dev build
2020-07-16 16:33:24 -04:00
Raymond Hill
3aed2497a3
Use AdGuard French as in-place replacement of Liste FR
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/379
Related recent discussion:
- 529643bdce
2020-07-16 16:29:24 -04:00
Raymond Hill
975d894419
Stringify argument using implicit rather than explicit conversion
...
Reported internally by team.
Explicit conversion was causing an exception to be
thrown when the type argument was not supporting
`toString()`, for example when `type` argument was
literal `null`.
2020-07-16 09:55:06 -04:00
Raymond Hill
a22d4cdd54
Make Firefox dev build auto-update
2020-07-15 16:15:52 -04:00
Raymond Hill
39cca287b8
New revision for dev build
2020-07-15 16:07:28 -04:00
Raymond Hill
947651427d
Use tabs instead of whitespaces
2020-07-15 16:06:39 -04:00
Raymond Hill
dacf83b5c0
Add cdn.jsdelivr.net mirror for urlhaus blocklist
2020-07-13 15:50:13 -04:00
Raymond Hill
d93f32e882
Remove repo.or.cz from list of CDNs for urlhaus blocklist
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1152
2020-07-13 15:34:07 -04:00
Raymond Hill
ab1ba2bc7e
Make Firefox dev build auto-update
2020-07-13 12:05:52 -04:00
Raymond Hill
21f8a06ba4
New revision for dev build
2020-07-13 11:52:02 -04:00
Raymond Hill
d5dcf4e9b6
Fix improper handling of srcset in element picker
...
Regression from:
- 16727d68c8
The issue was causing the element picker to being
unable to select elements with no valid `srcset`
property.
Test case -- trying to select one of the embedded
frames in the following page would fail:
- http://raymondhill.net/ublock/tiles1.html
2020-07-13 11:46:38 -04:00
Raymond Hill
9183e42a40
Make Firefox dev build auto-update
2020-07-13 09:45:36 -04:00
Raymond Hill
852ea15d0d
New revision for dev build
2020-07-13 09:40:00 -04:00
Raymond Hill
d49a9dce66
Fix spurious rejection of some AdGuard redirect filters
...
Lines in AdGuard filter lists have trailing `\r`
characters, and these caused the redirect engine
compile code to reject as invalid the redirect
token.
This is trivially fixed by trimming the raw option
strings before parsing it in the redirect engine.
2020-07-13 09:33:38 -04:00
Raymond Hill
ba0d4f8a38
Fix the reporting of invalid static extended filters in the logger
...
This is a regression caused by the re-factoring necessary
to support the new static filtering parser code.
2020-07-12 13:00:18 -04:00
Raymond Hill
2eec28520f
Fix improper rejecting fitlers with `$all,~document` options
...
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1134#issuecomment-657122472
2020-07-12 10:39:57 -04:00
Raymond Hill
1a9ad29503
Make Firefox dev build auto-update
2020-07-11 10:50:56 -04:00
Raymond Hill
73db4d3e71
New revision for dev build
2020-07-11 10:35:30 -04:00
Raymond Hill
fc84a30cce
Mind `\b` in regex-based filters when trying to extract token
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1145#issuecomment-657036902
2020-07-11 10:32:04 -04:00
Raymond Hill
16e066e844
Update README.md
2020-07-11 07:32:14 -04:00
Raymond Hill
c99238d3ca
Update README.md
2020-07-11 07:31:53 -04:00
Raymond Hill
ab8a888dfd
Make Firefox dev build auto-update
2020-07-10 08:25:29 -04:00
Raymond Hill
dc7757e777
New revision for dev build
2020-07-10 08:17:24 -04:00