Commit graph

175 commits

Author SHA1 Message Date
Raymond Hill
0036154d52
code review: be sure "ublock" flavor is always present 2018-04-18 07:11:13 -04:00
Raymond Hill
8071321e91
lower default value of manualUpdateAssetFetchPeriod 2018-04-09 08:26:14 -04:00
Raymond Hill
4d8974fe80
code review: avoid redundant PSL selfie 2018-04-06 16:02:35 -04:00
Raymond Hill
93f49a61d7
add pre-processor directives to filter list compiler (https://github.com/AdguardTeam/AdguardBrowserExtension/issues/917) 2018-04-05 07:29:15 -04:00
Raymond Hill
0a879a816b
treat behind-the-scene network requests like all others 2018-03-30 08:55:51 -04:00
Raymond Hill
2c901588c7
fix #3546, #3428 2018-02-26 13:59:16 -05:00
Raymond Hill
a81d2a759b
fix #3318, #3387 2018-02-21 13:29:36 -05:00
Raymond Hill
6b7d8e75f4
bring out of band fixes (c5cbf5db47, 2999dbee5c) for Firefox/webext into master 2018-02-21 08:19:43 -05:00
Raymond Hill
17930cc778
fix #3474, #2823 2018-02-15 17:25:38 -05:00
Raymond Hill
a9f68fe02f
Fix #3069, and consequently #3374, #3378.
A new filtering class has been created: "static extended filtering".
This new class is an umbrella class for more specialized filtering
engines:
- Cosmetic filtering
- Scriptlet filtering
- HTML filtering

HTML filtering is available only on platforms which support modifying
the response body on the fly, so only Firefox 57+ at the moment.

With the ability to modify the response body, HTML filtering has
been introduced: removing elements from the DOM before the source
data has been parsed by the browser.

A consequence of HTML filtering ability is to bring back script tag
filtering feature.
2017-12-28 13:49:02 -05:00
Raymond Hill
b446f9f8bd
fix regression reported in dec0b80a72 (commitcomment-26435928) by partially reverting changes from 4a09c9f866 2017-12-22 11:45:07 -05:00
Raymond Hill
4a09c9f866
improve slightly pre-parsing of ##script:... filters 2017-12-17 10:28:12 -05:00
Raymond Hill
dec0b80a72
fix #2877 2017-12-17 08:09:47 -05:00
gorhill
6112a68faf
fix #2984 2017-10-21 13:43:46 -04:00
gorhill
0c1207bd7a
fix #3110 2017-10-09 09:28:28 -04:00
gorhill
2c4faaa84d
fix #3020 2017-09-16 07:49:43 -04:00
gorhill
2660bee0d2
fix #2919 2017-09-05 19:49:48 -04:00
gorhill
49d287994f
remove obsolete default whitelist directive 2017-07-14 07:49:58 -04:00
gorhill
cc935ee19a
minor fine tuning 2017-06-02 08:17:09 -04:00
gorhill
39aeaa12a7
new feature: element zapper 2017-05-27 11:51:24 -04:00
gorhill
aae97b8535
fix badfilter option; performance work
- badfilter option was no longer working following last refactoring
  changes.
- performance work:
    - reduce duplication of large strings.
    - new lighter FilterBucket to use when only 2 filters: FilterPair.
2017-05-26 20:00:21 -04:00
gorhill
f3e6057e07
fix #2598: refactor to address the cause rather than the symptoms 2017-05-25 17:46:59 -04:00
gorhill
a222e23e49
fix #2630 2017-05-19 08:45:19 -04:00
gorhill
0232382695
refactor static network filtering, add support for csp injection 2017-05-12 10:35:11 -04:00
gorhill
5015826546 fix #2267 2017-03-05 12:54:47 -05:00
gorhill
4d1ed37556 Firefox WebExt readiness (#622) + support more webRequest types when available (websocket, font, csp_report) 2017-03-05 08:25:55 -05:00
gorhill
9309df4196 3rd-party filters pane revisited 2017-01-22 16:05:16 -05:00
gorhill
82155c09b6 fix #2323 2017-01-19 08:35:08 -05:00
Raymond Hill
3b9fd49c50 Assets management refactored (#2314)
* refactoring assets management code

* finalizing refactoring of assets management

* various code review of new assets management code

* fix #2281

* fix #1961

* fix #1293

* fix #1275

* fix update scheduler timing logic

* forward compatibility (to be removed once 1.11+ is widespread)

* more codereview; give admins ability to specify own assets.json

* "assetKey" is more accurate than "path"

* fix group count update when building dom incrementally

* reorganize content (order, added URLs, etc.)

* ability to customize updater through advanced settings

* better spinner icon
2017-01-18 13:17:47 -05:00
gorhill
c6dbdbd23b code review of procedural cosmetic filters + better validate :style option (#2278) 2016-12-30 10:32:17 -05:00
gorhill
d4155bf9e0 new revision for dev build + force lists to be recompiled 2016-12-25 17:00:24 -05:00
gorhill
ee4fc2aed6 code review re advanced settings + added popupFontSize 2016-11-06 16:27:21 -05:00
gorhill
446d7fad2e fix #2010, #2086 2016-11-05 14:48:42 -04:00
gorhill
8c3da95d65 fix #2067 (experimental) + support for hidden settings 2016-11-03 11:20:47 -04:00
gorhill
6062ec9b23 fix #2100 2016-10-26 12:40:05 -04:00
gorhill
e01a130bc5 changes required to use chromium platform code for webext platform code 2016-10-19 10:20:26 -04:00
gorhill
0454ad1b1f re. #1070: rewrite redirect engine to use ES6 Sets/Maps 2016-10-10 09:01:05 -04:00
gorhill
3ff3ae7d70 fix #2053 2016-10-08 10:15:31 -04:00
gorhill
c956b93369 fix #1669 2016-10-03 23:41:23 -04:00
gorhill
269c35a04a fix #1997 2016-09-16 17:41:17 -04:00
gorhill
a7fe367eec refactor where appropriate to make use of ES6 Set/Map (#1070)
At the same time, the following issues were fixed:
- #1954: automatically lookup site-specific scriptlets
- https://github.com/uBlockOrigin/uAssets/issues/23
2016-09-12 10:22:25 -04:00
Cqoicebordel
42ce8e7e5d Add vivaldi-scheme as a default in Whitelist (#1785)
Vivaldi is another browser based on Blink, that supports uBlock. Adding its scheme in the default whitelisting would prevent any issue with it.
2016-08-24 09:05:36 -04:00
gorhill
e9157bafb7 fix #1892, #1891 2016-08-13 16:42:58 -04:00
gorhill
e99d993a4c new content script code: perf work re. high-high generics
Now splitting high-high generics in two subgroups: one group for
simple selectors, another group for complex selectors. Turns out
the great majority of high-high generics are simple selectors, and
simple selectors can be applied incrementally with DOM changes, as
opposed to complex selectors. This brings in a significant perf.
improvement in the processing of high-high generics (previously,
all high-high generic selectors were processed as one big complex
selector).
2016-06-28 22:01:15 -04:00
gorhill
2ea36d6a7f fix https://github.com/uBlockOrigin/uAssets/issues/50 2016-05-26 08:34:28 -04:00
gorhill
36e681e39b this fixes #1484 2016-03-17 13:56:21 -04:00
gorhill
74905aa2a5 this fixes #370, #1477 2016-03-15 11:18:34 -04:00
gorhill
c96d90b048 this fixes #883 2016-03-06 19:16:46 -05:00
gorhill
cf77bc2dae 1st part of fix for #1293: 2nd part after 6 weeks following release of 1.6.0 2016-01-25 00:54:54 -05:00
gorhill
7a49a7f56f this addresses #1275: will complete the fix 4-6 weeks after releasing 1.6.0 2016-01-22 20:01:07 -05:00
gorhill
89148351e8 #1163: this implements "block elements by size" 2016-01-17 13:30:43 -05:00
gorhill
ddd77985ef remove block-then-redirect 1st-party list.
redirection is now used for all kind of purpose: privacy, to counter
anti-blocker mechanisms, etc.
2016-01-07 18:09:06 -05:00
gorhill
16a128dff0 this fixes #747 2016-01-03 13:58:25 -05:00
gorhill
1fe5a16c32 this fixes #1100: ability to inject directly a resource from redirection library 2015-12-22 16:32:09 -05:00
gorhill
d7523aad6d this fixes #451 2015-12-13 00:56:30 -05:00
gorhill
334506e1b9 experimental filters 2015-12-06 08:22:31 -05:00
gorhill
e1def0dc7e this will addresses #965 for next release 2015-11-24 12:11:39 -05:00
gorhill
1005a3e524 refactoring redirect engine: static filters are now the way to create redirection rules 2015-11-23 19:34:41 -05:00
gorhill
77504cb561 this fixes #951 2015-11-20 08:47:29 -05:00
gorhill
403f728777 put back http, https does not respond anymore 2015-11-01 11:27:15 -05:00
gorhill
13f05e5647 https now available 2015-10-28 15:23:51 -04:00
gorhill
2d0ed21544 this addresses http://www.wilderssecurity.com/threads/ublock-a-lean-and-fast-blocker.365273/page-63#post-2532835 2015-10-09 09:43:36 -04:00
gorhill
31f9cfe3de this fixes #711 2015-09-13 14:29:43 -04:00
gorhill
90a2c608bb this fixes #708 2015-09-13 10:26:36 -04:00
gorhill
59bdcbdb7e code reviewed implementation of high-medium generic cosmetic filters 2015-09-11 17:59:25 -04:00
gorhill
36a15e2e02 Experimental fix for #44
Disregard no-popups per-site switch for a URL which matches
a link clicked by the user.
2015-09-10 13:46:18 -04:00
gorhill
027e8c5977 #621: re-factored how domain= filter option is tested 2015-08-22 12:15:16 -04:00
gorhill
a63ac99e03 this fixes #621
Interpretation/implementation of exception filters with negated
hostname(s) has been revised: no block filter is implied anymore
for such filters. At time of writing I found only 10 such filters
in EasyList, and none in commonly used filter lists.
2015-08-21 21:52:16 -04:00
gorhill
efccaf1416 All third-party assets which are not enabled by default will no longer be
part of the package. The code here is to ensure a seamless transition from
local assets which have been converted to remote assets. The only side
effect to expect is that the selfie, if any, will be invalidated.
2015-08-18 13:15:58 -04:00
gorhill
251ed0d0d7 this addresses #583: provide a link to the "Badware risks" wiki page 2015-08-10 08:30:23 -04:00
gorhill
1ba7894a29 ability to prevent local ip address leak thru webrtc 2015-06-24 20:01:27 -04:00
gorhill
0f5739900c more concise name 2015-06-17 09:21:44 -04:00
gorhill
b8ed68525f filter list dedicated to sites documented as crapware risk 2015-06-16 09:16:15 -04:00
gorhill
2619d31e63 probably will fix #339 2015-06-11 18:33:11 -04:00
gorhill
b51e951536 this fixes #313 2015-06-08 08:09:08 -04:00
gorhill
ee8dd54481 added ability to disable hyperlink auditing 2015-06-02 08:26:35 -04:00
gorhill
14371b5d92 this fixes #274 2015-06-01 15:03:22 -04:00
gorhill
72c930ddff logger: UI work on URL-based dynamic filtering 2015-05-24 18:50:09 -04:00
gorhill
ea4f4cee72 logger: do not regenerate whole tab selector if no change 2015-05-18 08:12:35 -04:00
gorhill
52b2868c74 re. #150: make sure all filter lists are re-compiled 2015-04-29 10:50:55 -04:00
gorhill
318f2bf093 this fixes #142 2015-04-27 15:09:19 -04:00
gorhill
600fa2c3d9 this fixes #135 2015-04-27 10:54:13 -04:00
gorhill
6a9585c056 1st step of splitting ublock's own filters into two separate files 2015-04-24 07:40:34 -04:00
gorhill
78ad7929a6 This addresses colour-blindness issues, using contributed solution https://github.com/chrisaljoudi/uBlock/issues/467#issuecomment-95177219 2015-04-22 10:46:10 -04:00
gorhill
58e5695157 this addresses 5f65b1798a (commitcomment-10787154) 2015-04-18 07:30:52 -04:00
gorhill
bea512a6d0 minor change 2015-04-16 10:45:20 -04:00
Bernd
bf957d6b42 remove '' 2015-04-15 21:30:57 +02:00
YFdyh000
6e77ec33ff Correct issue links 2015-04-07 09:46:26 +08:00
gorhill
bc83836a7b support font request type 2015-04-05 10:38:47 -04:00
gorhill
f2ff0edfaf this fixes #1013, #1062 (draft) 2015-03-27 13:00:55 -04:00
gorhill
a4b4bc98ff this fixes #1013 2015-03-25 19:28:22 -04:00
gorhill
e642423a55 re. #1070 2015-03-22 10:43:20 -04:00
gorhill
45882970fa remember/restore element picker session data when same URL 2015-03-20 11:39:20 -04:00
gorhill
6a523656c3 code review: no need to distinguish generic exception filters 2015-03-13 12:48:40 -04:00
gorhill
57274ac726 this fixes #497 2015-03-13 12:26:54 -04:00
gorhill
ba689f7929 re. #962 2015-03-09 01:09:27 -04:00
Deathamns
95b778fbc7 Change extension description 2015-03-07 19:20:18 +01:00
gorhill
d8b949ecbe this fixes #932 2015-03-06 23:36:09 -05:00
gorhill
5f65b1798a this fixes #702 2015-03-04 19:36:09 -05:00
gorhill
1aff89c677 more work on request logger 2015-03-03 19:11:32 -05:00