Commit graph

69 commits

Author SHA1 Message Date
gorhill
63be43a365
shield content script against exceptions in injected scriptlets 2017-08-21 12:04:35 -04:00
gorhill
a1350b8cff
fix #2882 2017-08-17 09:54:01 -04:00
gorhill
fdcc9515dc
fix #2029 2017-08-17 08:25:02 -04:00
gorhill
d1c752da29
fix bad English in comment 2017-08-16 18:06:04 -04:00
gorhill
797082a36c
fix #2552 2017-08-16 14:10:41 -04:00
gorhill
eb3519b075
fix #2839 2017-08-03 10:18:05 -04:00
gorhill
0d892a8856
fix #2810 2017-07-23 09:56:43 -04:00
gorhill
d337abe504
minor code review 2017-06-22 14:36:45 -04:00
Sean Stangl
88fcf53d34 Check childElementCount directly. (#2725) 2017-06-21 20:09:19 -04:00
gorhill
139d97179f
as per #2612, use native Set() in content scripts 2017-05-15 08:51:25 -04:00
gorhill
8f42232105
fix #2609 2017-05-14 12:01:56 -04:00
gorhill
64c92a96a3
fix https://github.com/nikrolls/uBlock-Edge/issues/64 2017-03-16 19:31:14 -04:00
gorhill
cf123b9264
fix #2448 2017-03-13 13:03:51 -04:00
gorhill
7a023077b3
performance work for pseudo-user styles code 2017-03-12 10:22:46 -04:00
gorhill
28084e1dc9 code review: marginal performance improvement 2017-02-12 15:53:40 -05:00
gorhill
c6dbdbd23b code review of procedural cosmetic filters + better validate :style option (#2278) 2016-12-30 10:32:17 -05:00
gorhill
7558fedc38 fix typo in new :if/:if-not procedural operators 2016-12-26 12:37:43 -05:00
gorhill
73a69711f2 add chainable and recursive cosmetic procedural filters 2016-12-25 16:56:39 -05:00
gorhill
2f01fcda54 fix #2256 2016-12-21 11:44:03 -05:00
gorhill
c39adacc50 better abstraction of user styles 2016-12-16 16:25:36 -05:00
gorhill
94637ee4ff fix https://github.com/nikrolls/uBlock-Edge/issues/30 2016-12-15 10:47:32 -05:00
gorhill
98d2bbada7 revise matches-css implementation as per #1930 and https://github.com/uBlockOrigin/uAssets/issues/212 2016-12-01 11:55:05 -05:00
gorhill
cbf3dc9a0d maybe fix #2147 2016-11-12 13:38:41 -05:00
Nik Rolls
be8e514464 Prevent possible error when a node has no children (#2108)
Compat with Edge; SVG nodes don't have a `children` property and therefore this throws an error whenever an SVG is added, removed or moved in the DOM.
2016-10-30 16:04:53 -04:00
gorhill
cd81f866b9 code review: benefit from ES6 Set() in content script
fall back on legacy browser-specific polyfill code if required.
2016-10-09 11:09:25 -04:00
gorhill
a1fa4d0fe9 fix #2060 2016-10-08 15:14:24 -04:00
gorhill
b20b43e351 fix #2011: improve heuristic on when to give up on DOM surveying 2016-10-06 10:49:46 -04:00
gorhill
21f3dc83ec code review re. #1912 2016-09-24 14:42:31 -04:00
gorhill
0a15a95ad9 fix #1912 2016-09-22 12:18:01 -04:00
gorhill
33234fdd8b fix #1952 2016-08-31 17:50:49 -04:00
gorhill
e6d1a1f896 fix #1927 (revised commit msg due to missing quote) 2016-08-22 19:14:37 -04:00
gorhill
17724b2fec code review re. matches-css: to support pseudo class :after 2016-08-19 08:46:39 -04:00
gorhill
48416bebee code review: minor fine tuning 2016-08-14 08:51:52 -04:00
gorhill
fb7bd0cc1d fix #1893 2016-08-13 21:45:01 -04:00
gorhill
e9157bafb7 fix #1892, #1891 2016-08-13 16:42:58 -04:00
gorhill
839fed43ae minor code review 2016-08-12 11:31:13 -04:00
gorhill
6fd0bb4291 more refactoring of content script: better modularization of various components 2016-08-12 08:55:35 -04:00
gorhill
8d35a05c05 code review re. 6fab1fe585 2016-08-08 19:41:53 -04:00
gorhill
6fab1fe585 code review domCollapser: avoid duplicates -- helps for https://bugzilla.mozilla.org/show_bug.cgi?id=1232354 2016-08-08 09:59:57 -04:00
gorhill
458b9758ef minor code review 2016-08-06 23:29:58 -04:00
gorhill
5d572f54de fix #1873 2016-08-06 21:07:05 -04:00
gorhill
372f4b4c86 minor code review 2016-08-06 12:09:18 -04:00
gorhill
16acbca1fa minor code review re. https://bugzilla.mozilla.org/show_bug.cgi?id=1232354 2016-08-06 10:20:11 -04:00
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
0165d2e066 minor code review 2016-07-31 18:43:17 -04:00
gorhill
788ff0a21f code review: do not delay injection of specific cosmetic filters 2016-07-26 08:21:03 -04:00
gorhill
4da4709ed5 hopefully fix #1782: treat data: URI as 1st-party resources 2016-07-25 08:18:17 -04:00
gorhill
6895e6c7f9 minor code reivew: no need to scope to root for re-styling filters 2016-07-16 18:15:42 -04:00
gorhill
9e7fbb857b cosmetic filtering: stop surveying and/or filtering after too many consecutive misses 2016-07-12 13:29:30 -04:00