Commit graph

178 commits

Author SHA1 Message Date
Raymond Hill
4d8974fe80
code review: avoid redundant PSL selfie 2018-04-06 16:02:35 -04:00
Hugo Xu
fc4fccd8e3 Accept # Title: and # Expires:; optimize RegExp (#3679)
* Accept `# Title:` and `# Expires`; optimize RegExp

* Prevent confusion with network filter
2018-04-06 15:59:01 -04:00
Raymond Hill
c0387835fa
code review: modernize old code 2018-04-05 15:22:19 -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
9fb455d2df
fix #3406 2018-02-23 06:42:17 -05:00
Raymond Hill
a81d2a759b
fix #3318, #3387 2018-02-21 13:29:36 -05:00
Raymond Hill
17930cc778
fix #3474, #2823 2018-02-15 17:25:38 -05:00
Raymond Hill
636dcf7ee4
fix #3383 2018-01-01 07:52:03 -05:00
Raymond Hill
5c20182948
fix regression in per-list filter counts (reported by @mapx-) 2017-12-29 13:31:37 -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
36956cbc7a
remove obsolete resource caching code 2017-12-14 16:42:54 -05:00
gorhill
118240d36d
fix #3232 (regression from 386e8bee9c) 2017-11-15 16:32:52 -05:00
gorhill
d3d522ac46
fix #3213 2017-11-10 06:56:38 -05:00
gorhill
386e8bee9c
fix #3210 2017-11-09 12:53:05 -05:00
gorhill
f516cd3d26
remove unused source code 2017-10-23 13:33:35 -04:00
gorhill
6112a68faf
fix #2984 2017-10-21 13:43:46 -04:00
gorhill
20346ef0ed
auto-convert removed stock list into an imported list 2017-07-03 09:08:46 -04:00
gorhill
1c685c86a7
mind https://bugs.chromium.org/p/v8/issues/detail?id=2869 2017-05-26 12:46:36 -04:00
gorhill
f3e6057e07
fix #2598: refactor to address the cause rather than the symptoms 2017-05-25 17:46:59 -04:00
gorhill
3109d19e3c
code review: avoid compiling twice when list is fetched from remote location the 1st time 2017-05-20 15:32:03 -04:00
gorhill
fcf43d972e
tentatively fix issue reported in #2612 re. FFox 24.8.1 2017-05-19 10:12:55 -04:00
gorhill
721993b488
remove stray console.log 2017-05-12 11:49:00 -04:00
gorhill
0232382695
refactor static network filtering, add support for csp injection 2017-05-12 10:35:11 -04:00
gorhill
1c7c703d8b
fix #2594 2017-05-08 14:00:41 -04:00
gorhill
fe61cdddee
fix #2585 2017-05-06 13:19:16 -04:00
gorhill
0d2c0a5ba3
fix #2450 2017-03-13 10:07:26 -04:00
gorhill
5015826546 fix #2267 2017-03-05 12:54:47 -05:00
gorhill
1bceca9cbb fix var name (https://github.com/el1t/uBlock-Safari/issues/25#issuecomment-277506943)) 2017-02-05 07:43:28 -05:00
gorhill
60605033bf fix #1871? ("blind" fix, need confirmation) 2017-02-03 08:12:26 -05:00
gorhill
0b4f31bd8a fix #2344 2017-01-27 13:44:52 -05:00
gorhill
aadf4a6427 fix #2340 2017-01-26 10:17:38 -05:00
gorhill
50800427b3 generic code review related to the new 3rd-party filter pane 2017-01-23 09:35:05 -05:00
gorhill
9309df4196 3rd-party filters pane revisited 2017-01-22 16:05:16 -05:00
gorhill
6e48c74e4e code review: auto-select new built-in asset if it matches locale (https://github.com/uBlockOrigin/uAssets/issues/268#issuecomment-274146120) 2017-01-20 15:17:11 -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
ee4fc2aed6 code review re advanced settings + added popupFontSize 2016-11-06 16:27:21 -05:00
gorhill
8c3da95d65 fix #2067 (experimental) + support for hidden settings 2016-11-03 11:20:47 -04:00
gorhill
efdf43f1d5 FF webext does not support getBytesInUse() 2016-10-30 13:06:23 -04:00
gorhill
3628de7a9d necessary changes for https://github.com/nikrolls/uBlock-Edge/pull/22 2016-10-28 08:40:38 -04:00
gorhill
5a50708961 (webext) support for vAPI.adminStorage is optional 2016-10-15 09:32:33 -04:00
gorhill
3ff3ae7d70 fix #2053 2016-10-08 10:15:31 -04:00
gorhill
95ec573141 fix #2014 2016-09-24 14:36:08 -04:00
gorhill
e9157bafb7 fix #1892, #1891 2016-08-13 16:42:58 -04:00
gorhill
36e681e39b this fixes #1484 2016-03-17 13:56:21 -04:00
gorhill
04d59367b0 minor code review 2016-02-17 10:04:55 -05:00
gorhill
0adae9fb65 this fixes #1395 2016-02-17 09:28:20 -05:00
gorhill
16a128dff0 this fixes #747 2016-01-03 13:58:25 -05:00
gorhill
4a000459ab redirect-resources.txt to be used for more than just redirection 2015-12-23 07:23:09 -05:00
gorhill
043825285c this fixes an issue with the updating of redirection resources 2015-12-15 21:34:36 -05:00
gorhill
ea49484dd3 this fixes #1067 + partially fixes #1070 2015-12-15 10:40:40 -05:00
gorhill
a2fb13653a code review: overwrite list title only for external filter lists 2015-12-13 18:00:43 -05:00
gorhill
fd1ccebf41 this fixes #1022 2015-12-07 08:59:22 -05:00
gorhill
013b4b1a88 code review 2015-11-29 17:57:55 -05:00
gorhill
72f5e44ec0 code review 2015-11-29 17:06:58 -05:00
gorhill
ba96a4ff4a redirect engine: selfie-able + update-able 2015-11-29 11:04:42 -05:00
gorhill
ba8b9ba008 redirection engine: code review 2015-11-23 23:34:03 -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
2aadc2a969 new redirect engine: this fixes #949 (the video ad part) 2015-11-23 07:52:50 -05:00
gorhill
892913d185 this fixes #832 2015-10-21 11:53:03 -04:00
gorhill
29c39550dd forgot to comment to link code to issue (#708 in current case) 2015-09-13 10:52:41 -04:00
gorhill
90a2c608bb this fixes #708 2015-09-13 10:26:36 -04:00
gorhill
05ce6711e8 this fixes #668, #669 2015-08-31 18:43:40 -04:00
gorhill
ff33410c4a #602: no need to rename compiled lists, they will be invalidated anyways 2015-08-18 14:49:46 -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
9b4b998364 #608: this fixes a bunch of strictness-related warnings 2015-08-18 11:44:24 -04:00
gorhill
690421aead sync feature (#80): draft 2015-08-11 15:29:14 -04:00
gorhill
2509bceaff this addresses #531 2015-07-27 10:10:34 -04:00
gorhill
060a43fe81 this addresses half of #58: find list(s) from which a static network filter originates 2015-06-11 12:12:23 -04:00
gorhill
61dc1b7808 code review 2015-06-09 17:01:31 -04:00
gorhill
b51e951536 this fixes #313 2015-06-08 08:09:08 -04:00
gorhill
e8e14c7d70 this fixes #277 2015-06-03 09:51:24 -04:00
gorhill
284b4f62d1 dynamic url filtering 2015-05-21 14:15:17 -04:00
gorhill
28fbda6607 code review re. #134 2015-04-26 20:33:49 -04:00
gorhill
af5aeeda6c this hopefully fixes #134 2015-04-26 18:31:51 -04:00
gorhill
6b32efb67b for unlikely case where two lists are merged into one 2015-04-18 00:43:32 -04:00
gorhill
544e1215dd this fixes #63 2015-04-16 12:14:43 -04:00
gorhill
28fc4f99d4 cleanup 2015-04-10 09:52:16 -04:00
gorhill
67417c5cec cleaning up old stuff 2015-04-10 02:17:12 -04:00
YFdyh000
6e77ec33ff Correct issue links 2015-04-07 09:46:26 +08:00
gorhill
53d96cc88f do not include unused entries in backup 2015-03-30 08:12:41 -04:00
gorhill
f2ff0edfaf this fixes #1013, #1062 (draft) 2015-03-27 13:00:55 -04:00
gorhill
d0113278aa code review 2015-03-11 14:52:20 -04:00
gorhill
145e5da7ce this fixes #990 + code review for #978 2015-03-11 11:05:13 -04:00
gorhill
39ad1585e9 this fixes #982, #978, #965 2015-03-10 23:46:18 -04:00
gorhill
bf50e87dff this fixes #976 2015-03-09 23:00:52 -04:00
gorhill
2478bd4f61 this fixes #224 for Chromium 2015-03-09 12:57:52 -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
aa955ebe09 code review, polishing 2015-03-06 00:36:45 -05:00
gorhill
a99bcd98fd persist local settings only when really needed 2015-03-04 19:38:19 -05:00
gorhill
aaddab2023 this fixes #916 2015-03-02 11:01:21 -05:00
gorhill
24611bab29 code review 2015-02-25 16:51:04 -05:00
gorhill
a9ce435f1c code to migrate obsolete list locations to new locations 2015-02-25 16:33:51 -05:00
gorhill
1993b20e19 this fixes #881 2015-02-24 18:29:58 -05:00
gorhill
9a622107ea this completes fix of #520 2015-02-24 13:48:03 -05:00
gorhill
c7bab5502e this mitigates #520, #376 2015-02-23 18:31:29 -05:00
gorhill
388ac77166 preparing for 1st release candidate 2015-02-15 07:16:31 -05:00
gorhill
bca949748d this fixes #376 2015-02-13 12:10:10 -05:00
gorhill
646f92b32f #731: added session and permanent firewalls 2015-02-11 00:26:45 -05:00
gorhill
932f14bd6e code review re. #695 2015-02-06 06:49:48 -05:00