Commit graph

122 commits

Author SHA1 Message Date
gorhill
798e21de36 fix #2414 2017-02-27 16:29:36 -05:00
gorhill
1c4347d69d element picker improvement: to not discard class information when an id is available
Use class(es) whenever available instead of the id when selecting a
broad cosmetic filter (ctrl-click).
When asking for a broad cosmetic filter, using the id instead of
whatever available class(es) is limiting usefulness. The change
here address this.
Example of use case: open
<http://forums.mozillazine.org/viewtopic.php?f=38&t=3027325>.
Now how to remove all signature widgets from all posts?
Without the change here, this was not possible without opening the
browser's inspector, finding out and manually typing whatever class
is used to identify the signature's root element.
With this commit, ctrl-click will now use whatever class information
exist instead of the id.
2017-02-13 08:33:10 -05:00
gorhill
9309df4196 3rd-party filters pane revisited 2017-01-22 16:05:16 -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
251bbe0f43 use plain E instead of Greek epsilon (for some reason does not render fine in FFox) 2016-12-25 17:05:30 -05:00
gorhill
73a69711f2 add chainable and recursive cosmetic procedural filters 2016-12-25 16:56:39 -05:00
gorhill
c39adacc50 better abstraction of user styles 2016-12-16 16:25:36 -05:00
gorhill
a1fa4d0fe9 fix #2060 2016-10-08 15:14:24 -04:00
gorhill
6557024434 code review re. #1772: fixed previewing of :has() filters 2016-10-01 13:34:20 -04:00
gorhill
c084853d9a fix #1772: ability to preview procedural cosmetic filters 2016-10-01 12:34:25 -04:00
gorhill
6000adb751 help generate better suggested cosmetic filters for iframes 2016-08-21 09:49:11 -04:00
gorhill
a76703b6ad convenience fix for #1901 2016-08-15 13:10:32 -04:00
gorhill
d82a7e1ece fix #1897 2016-08-15 07:52:50 -04:00
gorhill
6fd0bb4291 more refactoring of content script: better modularization of various components 2016-08-12 08:55:35 -04:00
gorhill
6bd356dd2c fix #1856 2016-08-06 12:05:01 -04:00
gorhill
cc6f80610f fix regression: exception thrown when creating filter thru element picker 2016-08-05 13:51:56 -04:00
gorhill
02e6b088ef further refactoring + performance: skip surveying DOM after too many empty resultset 2016-07-09 19:21:46 -04:00
gorhill
7f9c01d38f fix https://github.com/gorhill/uBlock/issues/769#issuecomment-229873048 and more completely #762 + dom inspector regressions 2016-07-01 08:09:48 -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
1cd24380ce more sensible fix to #1725 2016-06-16 10:55:49 -04:00
gorhill
a33dc4f8e2 fix #1725 (assuming the issue was uBO not properly blocking data: images) 2016-06-16 09:46:18 -04:00
gorhill
c0515c20a4 set a limit on longth of suggested network filters (see https://github.com/gorhill/uBlock/issues/1725#issuecomment-226479197) 2016-06-16 09:15:49 -04:00
gorhill
c5fd181bff fix #1629 2016-05-13 11:10:09 -04:00
gorhill
62a4cafe2f code review re. #1202: mind style priority (repro case at #1575) 2016-04-19 09:15:06 -04:00
gorhill
051cc685ce element picker: code review 2016-04-17 10:15:01 -04:00
gorhill
c68ff1487a element picker: more sensible implementation ctrl-clicking a filter candidate 2016-04-16 13:21:48 -04:00
gorhill
e475e1ece8 this fixes #650; code reviewed changes re. #1202, #1545; fine tuning picker UI 2016-04-16 11:20:01 -04:00
gorhill
def2b7cbff this fixes #1202, #1545, other improvements 2016-04-15 12:27:53 -04:00
gorhill
ebcafc8db2 this fixes #1529: harden element picker styles against external changes 2016-04-03 08:34:28 -04:00
gorhill
18937849c3 code review as per feedback from last commit: 99a3d96310 (commitcomment-16748337) 2016-03-17 12:16:56 -04:00
gorhill
99a3d96310 this addresses https://github.com/ABPIsrael/EasyListHebrew/issues/89 2016-03-17 10:32:11 -04:00
gorhill
eb8c17d55c this takes care of #1443 2016-03-08 16:35:06 -05:00
gorhill
3e526476d7 block-by-size: some sites use outline, this hides our placeholders 2016-01-24 19:57:57 -05:00
gorhill
58838ce4c5 blocked-image-by-size: getComputedStyle() on Pale Moon can return null 2016-01-23 16:57:20 -05:00
gorhill
7a0b4356ad blocked-image-by-size: be sure placeholder is visible in interactive mode 2016-01-23 16:42:23 -05:00
gorhill
4bb9ef59ba this fixes #1258 2016-01-19 15:04:44 -05:00
gorhill
89148351e8 #1163: this implements "block elements by size" 2016-01-17 13:30:43 -05:00
gorhill
9b1db96254 this fixes subscribe links not working if URL has a fragment identifier 2015-12-18 12:18:34 -05:00
gorhill
e2e86de89a this fixes #1031 2015-12-08 14:06:33 -05:00
gorhill
c3aadde898 code review re. #1024 2015-12-07 11:18:56 -05:00
gorhill
85dcf6ee17 this fixes #1024 2015-12-07 11:09:39 -05:00
gorhill
3b61f7d11d minor code review 2015-12-07 11:06:06 -05:00
gorhill
89f0e8f1a9 this fixes #1015 2015-12-05 18:02:04 -05:00
gorhill
2750b13e34 code review 2015-12-03 01:08:37 -05:00
gorhill
21b5aa8f38 this fixes #738 2015-11-24 15:27:39 -05:00
gorhill
77504cb561 this fixes #951 2015-11-20 08:47:29 -05:00
gorhill
43be9f2c22 set an id for html tag of epicker
this enables FF users to override epicker style properties
2015-10-30 13:04:01 -04:00
gorhill
6600a27c33 https://github.com/chrisaljoudi/uBlock/issues/1528: apply fix to element picker 2015-08-28 10:56:05 -04:00
gorhill
94a1d72fc8 https://github.com/chrisaljoudi/uBlock/issues/1528: apply fix to scriptlets too 2015-08-28 10:44:33 -04:00
gorhill
9b4b998364 #608: this fixes a bunch of strictness-related warnings 2015-08-18 11:44:24 -04:00
gorhill
595b239df1 this fixes #546 2015-07-30 12:29:37 -04:00
gorhill
d3f741f8fd DOM inspector: to properly report cosmetic filters for dynamically added elements 2015-07-11 07:38:03 -04:00
gorhill
e3e4d577ee this makes shadow DOM work on Firefox 2015-07-06 13:53:39 -04:00
gorhill
497eb87fb0 avoid reporting the DOM layout while it is loading 2015-07-06 10:24:28 -04:00
gorhill
febb18147a #435: using shadow nodes instead of modifying directly nodes' style attr 2015-07-06 07:48:56 -04:00
gorhill
93c4502acc bypass FF's built CSS.escape(), to benefit from serializeAsString 2015-07-03 06:56:15 -04:00
gorhill
cc6a811934 CSS.escape: support "serialize a string" to avoid pointless escaping 2015-07-03 06:34:18 -04:00
gorhill
a0607702b1 dom inspector: this fixes non-sticky toolbars 2015-07-01 09:19:13 -04:00
gorhill
9becb466d4 functional DOM inspector 2015-06-30 18:02:29 -04:00
gorhill
aeba71790f some refactoring: move to-aux-process-messaging timeout into vAPI 2015-06-29 10:46:20 -04:00
gorhill
39b0d719c0 some more work re inspector 2015-06-28 17:42:08 -04:00
gorhill
f988d74b4d DOM inspector: incremental rendering when inspected DOM changes 2015-06-27 13:32:10 -04:00
gorhill
7d2855180c some refactoring of new DOM inspector code 2015-06-26 15:45:54 -04:00
gorhill
631443768f dom inspector: ébauche 2015-06-26 00:08:41 -04:00
gorhill
34485a0465 code review 2015-06-17 14:06:59 -04:00
AlexVallat
9406e40fdc Imported 620a7d78d1 2015-06-17 14:06:59 -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
f26e332098 this fixes #290 2015-06-04 11:17:02 -04:00
gorhill
67950ec135 minor code review 2015-05-30 13:44:55 -04:00
gorhill
56ac5a1105 coalesce mouse move events 2015-05-27 15:15:20 -04:00
gorhill
72c930ddff logger: UI work on URL-based dynamic filtering 2015-05-24 18:50:09 -04:00