Commit graph

67 commits

Author SHA1 Message Date
gorhill
a5a9e0ce7c replace csstext() with more flexible/efficient matches-css() 2016-08-03 09:20:55 -04:00
gorhill
1ca285f8bd add new cosmetic operator csstext() 2016-08-03 08:06:51 -04:00
gorhill
41b20cac3f prevent use of url() in injected styles 2016-07-18 15:43:03 -04:00
gorhill
9e7fbb857b cosmetic filtering: stop surveying and/or filtering after too many consecutive misses 2016-07-12 13:29:30 -04:00
gorhill
02e6b088ef further refactoring + performance: skip surveying DOM after too many empty resultset 2016-07-09 19:21:46 -04:00
gorhill
9d5b03ce66 fix #1774 2016-07-03 00:13:17 -04:00
gorhill
87d0cce9b2 remove stray comma separator in injected CSS declarations 2016-06-29 18:12:21 -04:00
gorhill
3752ac4880 fix #781: support for explicit style properties 2016-06-29 17:07:33 -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
6c513629bf refactor content script code + add support for new :has & :xpath filters
Aside extending cosmetic filtering abilities, I expect this will
also take care of some long standing issues (I will have to find them
and mark them as "resolved" by this commit, as time allow).
2016-06-27 19:09:04 -04:00
gorhill
6095a1db0f AMO review: keep dev console clean 2016-03-27 09:24:57 -04:00
gorhill
36e681e39b this fixes #1484 2016-03-17 13:56:21 -04:00
gorhill
324c26b20c code review: cleanup cosmetic filtering engine on shutdown 2016-03-04 20:25:35 -05:00
gorhill
5a7ab32d24 cosmetic filtering: discard new ABP's CSS property filters (until implemented) 2016-03-02 08:10:59 -05:00
gorhill
cdfdb570bb minor code review: pass a string, not an array 2016-01-21 09:04:04 -05:00
gorhill
778cd739ef this fixes #1206 2016-01-11 01:04:51 -05:00
gorhill
a7901cd97e this fixes entity-based script tag filters, as reported in https://github.com/IDKwhattoputhere 2015-12-27 12:34:40 -05:00
gorhill
3956605ee0 general code review re. most recent commits 2015-12-23 11:02:36 -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
ea49484dd3 this fixes #1067 + partially fixes #1070 2015-12-15 10:40:40 -05:00
gorhill
2eca31ac3c this allows to use Adguard filter lists (unsupported filters are discarded) 2015-11-30 14:47:56 -05:00
gorhill
4e9d41a150 #948: this possibly addresses the 1st reported error case 2015-11-19 18:07:27 -05:00
gorhill
7c4d1f510a this addresses #909 2015-11-19 09:36:15 -05:00
gorhill
e847d7f9f4 again, no need to capture in regex 2015-11-05 09:25:16 -05:00
gorhill
c99b61da96 code review: no need to capture in regex 2015-11-05 09:19:45 -05:00
gorhill
72201527d3 hardening against bad regexes 2015-10-26 11:23:56 -04:00
gorhill
a92c8f1413 re. #781: backward compatibility code to ignore unsupported explicit style properties 2015-10-04 13:27:05 -04:00
gorhill
987da1960c updated comment 2015-10-02 09:34:53 -04:00
gorhill
6b9848cf0d Exception script tag filter makes no sense: reject such filters 2015-09-30 10:17:25 -04:00
gorhill
8d294869fe this fixes #756 2015-09-30 09:33:38 -04:00
gorhill
12baeadac4 code review of new script tag filtering code 2015-09-27 10:13:31 -04:00
gorhill
7970f4dc70 new cosmetic filter to foil specific inline script tags 2015-09-26 19:07:23 -04:00
gorhill
f5bb9cec69 #711: oops 2015-09-13 14:37:35 -04:00
gorhill
31f9cfe3de this fixes #711 2015-09-13 14:29:43 -04:00
gorhill
59bdcbdb7e code reviewed implementation of high-medium generic cosmetic filters 2015-09-11 17:59:25 -04:00
gorhill
7177d8d0ff this addresses #693 2015-09-08 08:45:22 -04:00
gorhill
9b4b998364 #608: this fixes a bunch of strictness-related warnings 2015-08-18 11:44:24 -04:00
gorhill
f1b9e27fdb minor code review 2015-07-06 10:25:37 -04:00
gorhill
9a5404ef07 this fixes the other half of #58: from which list(s) a cosmetic filter originates 2015-06-13 11:21:55 -04:00
gorhill
facef0dc05 this fixes many addon validation warnings 2015-05-17 13:02:56 -04:00
YFdyh000
6e77ec33ff Correct issue links 2015-04-07 09:46:26 +08:00
gorhill
4a07482d46 cosmetic filtering: support unicode hostnames (#498) 2015-03-23 10:40:03 -04:00
gorhill
c81a9925b2 #1004: reduce overhead of CSS selector validation 2015-03-17 08:26:35 -04:00
gorhill
d098edf2e3 be ready for when Element.matches is not supported 2015-03-16 15:07:24 -04:00
gorhill
865ff3e01b typo 2015-03-16 14:59:41 -04:00
gorhill
b55a9458f1 this fixes #1004 2015-03-16 14:58:35 -04:00
gorhill
0bcde1666e code review: no need to re-send generic exception filters every time 2015-03-13 17:05:28 -04:00
gorhill
a0602fc343 minor edit 2015-03-13 13:01:46 -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