Commit graph

128 commits

Author SHA1 Message Date
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
a4ec9f5dae
fix #2640 2017-05-23 12:16:53 -04:00
gorhill
da5f1c80d3
fix long latent issue exposed by acf7562b0f 2017-05-19 21:07:37 -04:00
gorhill
acf7562b0f
minor code review 2017-05-19 20:22:26 -04:00
gorhill
fcf43d972e
tentatively fix issue reported in #2612 re. FFox 24.8.1 2017-05-19 10:12:55 -04:00
gorhill
a222e23e49
fix #2630 2017-05-19 08:45:19 -04:00
gorhill
ca32a693df
fix regression re. badfilter option 2017-05-16 20:03:02 -04:00
gorhill
da71918112
code review "csp=" parsing: reject if "report-" directive present 2017-05-16 12:44:12 -04:00
gorhill
29b1e87a92
make key always numerical since only native Map() is used, as per #2612 2017-05-16 10:25:00 -04:00
gorhill
0232382695
refactor static network filtering, add support for csp injection 2017-05-12 10:35:11 -04:00
gorhill
ea47cae003
fix #2599 2017-05-09 08:58:30 -04:00
gorhill
51ade9f043
code review re. https://github.com/uBlockOrigin/uAssets/issues/192#issuecomment-285904675 2017-03-21 08:23:21 -04:00
gorhill
2dcf7b7974
fix #2464 2017-03-20 15:54:41 -04:00
gorhill
a4e20ae3ad
new filter option: "badfilter" (see https://github.com/uBlockOrigin/uAssets/issues/192) 2017-03-11 13:55:47 -05:00
gorhill
2b1ab2234f re #2294: mind unicode in "domain=" option + update URL of Adguard lists 2017-01-09 09:53:57 -05:00
gorhill
9c4fbeb1fc fix #2294 2017-01-09 08:56:42 -05:00
gorhill
a927725bd9 code review: one getter per instance is wasteful 2017-01-07 17:18:22 -05:00
gorhill
bacf5021e0 performance work:
- refactor "domain=" option matcher in light of
  https://gorhill.github.io/obj-vs-set-vs-map/set-vs-regexp.html
- reuse existing instance of "domain=" matchers and filters
  wherever possible
2017-01-06 12:39:37 -05:00
gorhill
cec17097a4 fix #2249 2016-12-19 00:30:14 -05:00
gorhill
c3c92f85ff fix #2225 2016-12-07 20:18:58 -05:00
gorhill
d62059ccc7 fix #2103 2016-11-08 07:13:26 -05:00
gorhill
bc379a123e fix #1493 2016-11-06 10:49:02 -05:00
gorhill
de587335bd elemhide is (and has always been) really generichide 2016-10-27 08:33:19 -04:00
gorhill
b105010f34 minor code review 2016-10-11 11:53:28 -04:00
gorhill
c956b93369 fix #1669 2016-10-03 23:41:23 -04:00
gorhill
1a29be62fb fix #2025 2016-09-24 17:19:52 -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
gorhill
276d51c4f0 code review: this can catch more cases (re d07baef742) 2016-09-05 18:56:35 -04:00
gorhill
d07baef742 broaden detection of websocket-specific filters (see https://github.com/gorhill/uBlock/issues/1943#issuecomment-243188946) 2016-09-05 18:45:10 -04:00
gorhill
d4ce29397a code review re. 60f60c2c97 2016-08-31 05:19:16 -04:00
gorhill
35b46cab4c code review re. 60f60c2c97 2016-08-30 22:45:24 -04:00
gorhill
83e66b36f1 patch or convert filters meant to target websocket network requests 2016-08-30 19:57:25 -04:00
gorhill
5cbe583c0a fix #1929 2016-08-23 10:33:28 -04:00
gorhill
e9157bafb7 fix #1892, #1891 2016-08-13 16:42:58 -04:00
gorhill
4da4709ed5 hopefully fix #1782: treat data: URI as 1st-party resources 2016-07-25 08:18:17 -04:00
gorhill
0e244d9822 fix #1765 2016-07-01 15:15:58 -04:00
gorhill
72fdce64f0 fix issue reported in comment https://github.com/gorhill/uBlock/issues/1669#issuecomment-224822448 2016-06-27 14:11:36 -04:00
gorhill
fffa919d03 fix #1757: fixed typo in comment 2016-06-26 21:16:54 -04:00
gorhill
c14277f5aa fix #1757 2016-06-26 21:15:18 -04:00
gorhill
fd5f07350c fix https://github.com/gorhill/uBlock/issues/1660 2016-05-26 08:49:59 -04:00
gorhill
36e681e39b this fixes #1484 2016-03-17 13:56:21 -04:00
gorhill
2f037e6f72 #1477: put back mistakenly removed block of code 2016-03-16 12:11:37 -04:00
gorhill
74905aa2a5 this fixes #370, #1477 2016-03-15 11:18:34 -04:00
gorhill
5a2e9bc1a7 this fixes #1468 2016-03-12 01:25:02 -05:00
gorhill
c96d90b048 this fixes #883 2016-03-06 19:16:46 -05:00
gorhill
08d7ce96aa this fixes #1246 2016-01-16 20:21:17 -05:00
gorhill
a944873b83 code review: convert static filtering's tokenizer to a global utility 2015-12-29 11:34:41 -05:00
gorhill
a16ba964df this fixes #1127 (regression bug) 2015-12-27 15:41:48 -05:00
gorhill
ce3178cb16 this fixes good Adguard filters rejected due to empty keyword 2015-12-18 12:19:13 -05:00