Raymond Hill
2f63fb3fd4
Prevent adding known invalid URL-based rules
...
Related discussion:
- https://github.com/uBlockOrigin/uBlock-issues/issues/662#issuecomment-509220702
Currently, `doc` (aka `main_frame`) rules are not
evaluated to decide whether a network request must
be blocked or not, by design. This commits adjust
uBO's UI to account for this.
2019-07-08 10:49:53 -04:00
Raymond Hill
cdd1aac442
Add convenience link to network resources in logger
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/648
2019-06-30 16:15:19 -04:00
Raymond Hill
26708b37c1
Integrate bare-bone filter hit stats in the logger
...
Related issue:
- https://github.com/gorhill/uBlock/issues/983
- https://github.com/gorhill/uBlock/issues/1353
The current implementation reports statistics for all
static filters, and the presentation/featureset is
intentionally minimal: *Do not open issues about this.*
It's still a work in progress and it will be worked on
slowly and thoughtfully over time and as time allows.
Pausing the logger will not pause the collation of
filter hit statistics, thus it is possible to lower
the logger overhead by pausing logger output without
losing filter hit collation.
2019-05-24 11:18:39 -04:00
Raymond Hill
a0ac1b7ee8
Fix handling of data:
for filtering purpose in logger
...
Related issue:
- https://github.com/gorhill/uBlock/issues/2469
2019-05-19 17:00:49 -04:00
Raymond Hill
9bfbbfec84
Adjust visual of cosmetic exception filters in logger
...
The invariant prefixes `##` and `#@#` are now hidden,
allowing to reveal more of the filter itself when the
logger view is narrow.
2019-05-17 11:45:07 -04:00
Raymond Hill
3573b6b32c
Add ability to report exception cosmetic filters in the logger
...
Related issue:
- https://github.com/gorhill/uBlock/issues/127
Additionally, the extended exception filters in the
logger will be rendered with a line-through to more
easily distinguish them from non-exception ones.
Also, opportunistically converted revisited code to
ES6 syntax.
2019-05-16 13:44:49 -04:00
Raymond Hill
3195f554f7
Fix partyness evaluation for cases of base domain-less hostnames
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/402
2019-01-29 10:34:58 -05:00
Raymond Hill
9e89dd4f26
Fix missing partyness in logger when empty domain in resource URL
2019-01-22 06:13:30 -05:00
Raymond Hill
801eb43572
Prevent info entries from polluting logger output
...
These entries are meant to be shown only when using "All"
mode, not when the output is narrowed to a specific tab.
2019-01-16 13:29:34 -05:00
Raymond Hill
86e5d0384c
Fix minor logger quirks as per feedback
2019-01-15 15:12:47 -05:00
Raymond Hill
5d5b05b387
Fix an issue in new logger export feature
...
Specifically, if selecting table+markdown, the export dialog
would no longer be accessible once closed.
2019-01-14 16:52:13 -05:00
Raymond Hill
0edf53f508
Add export-to-clipboard feature to logger
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/334
Additionally, a number of smallish issues following
refactoring of the logger code were addressed.
2019-01-14 14:57:31 -05:00
Raymond Hill
3be59f172d
Use blocked/allowed colors in logger's "Details" pane
...
Additionally, another attempt at making the logger render
better on small-screen devices.
2019-01-13 08:34:17 -05:00
Raymond Hill
ed5d63df69
Grand refactoring of the logger
...
Performance-related work: the logger data has been decoupled
from the DOM -- inspired from CodeMirror's way of efficiently
handling large amout of text data.
This decoupling now makes the logger highly efficient CPU- and
memory-wise, and open the way to more possibilities.
Ability to configure some aspect of the logger behavior and
visuals:
- The hard-coded limit of 5000 entries has been
removed and is now replaced with a variety of
user-configurable settings to enforce the discarding of
logger entries.
- Some columns in the logger output can now be hidden.
The filter list look-up feature has been merged into the
existing overlay dialog used to create URL rules or static
filters, as an entry in a new "Details" pane.
Other issues addressed during refactoring:
- https://github.com/uBlockOrigin/uBlock-issues/issues/280
- https://github.com/gorhill/uBlock/issues/1999
The minimum version supported on Firefox has been bumped
up to 55.0.
2019-01-12 16:36:20 -05:00
Raymond Hill
64bea27881
Add ability to control auto-commenting at filter creation time
...
Related issues:
- https://github.com/uBlockOrigin/uBlock-issues/issues/372
- https://github.com/gorhill/uBlock/issues/93
A new advanced settings has been added: `autoCommentFilterTemplate`.
Default value is `{{date}} {{origin}}`.
Placeholders are identified by `{{...}}`. There are currently
only three placeholders supported:
- `{{date}}`: will be replaced with current date
- `{{time}}`: will be replaced with current time
- `{{origin}}`: will be replaced with site information on which
the filter(s) was created
If no placeholder is found in `autoCommentFilterTemplate`, this
will disable auto-commenting. So one can use `-` to disable
auto-commenting.
Additionally, if auto-commenting is enabled, uBO will not emit a
comment if an emitted comment would be a duplicate of the last
one found in the user filter list.
2019-01-08 07:37:50 -05:00
Raymond Hill
99cdec5ba6
Informal code review to tidy up logger buffer fetching implementation
2018-12-23 15:35:32 -05:00
Raymond Hill
2849dbb805
Fix duplicate entry in URL filtering dialog: https://github.com/gorhill/uBlock/issues/3401
2018-12-21 10:09:29 -05:00
Raymond Hill
6bc22ab4ba
Convert uBO's svg-based icon into a stylable svg symbol-based icon
2018-12-19 16:21:23 -05:00
Raymond Hill
bb737e29d5
Revert use of Fontawesome v5; use 4.7 or equivalent: see <> https://github.com/uBlockOrigin/uBlock-issues/issues/249#issuecomment-448587658
2018-12-19 14:05:19 -05:00
Raymond Hill
61d95aa60f
Move builtin filter expr button inside input field
2018-12-18 17:23:03 -05:00
Raymond Hill
2e7654d429
Relax semantic of leading/trailing pipes in filter expressions in logger
2018-12-18 13:37:01 -05:00
Raymond Hill
56f7505ad8
Further improve logger along with fixes to specific logger issues
...
- Add tooltip support (not yet complete):
https://github.com/gorhill/uBlock/issues/1222
- Add a link to logger documentation:
https://github.com/gorhill/uBlock/issues/2876#issuecomment-322905413
- Migrate to from fontawesome font to svgs:
https://github.com/uBlockOrigin/uBlock-issues/issues/249
2018-12-17 13:54:17 -05:00
Raymond Hill
aa50dc00d2
add built-in expressions to logger's row filterer (see #787 )
2018-12-16 15:26:38 -05:00
Raymond Hill
8214a0b17d
Improve tooltip for partyness information in logger
2018-12-15 12:23:13 -05:00
Raymond Hill
5b7a3c9983
fix https://github.com/uBlockOrigin/uBlock-issues/issues/256 ; add regex support in logger filter field
2018-12-14 11:01:21 -05:00
Raymond Hill
9b27a98f90
Fix https://github.com/gorhill/uBlock/issues/3654
...
Additionally, there has been refactoring work done regarding
filtering context used throughout uBO, motivated by the fix
here.
2018-12-13 12:30:54 -05:00
Raymond Hill
51a4e9ccf4
fix #2763
2018-07-22 10:47:02 -04:00
Raymond Hill
d5f40b90f6
fix #2179
2018-07-22 08:14:02 -04:00
Raymond Hill
c6cab02999
fine-tune logger-related code
...
- Default to being detached
- Default to "Current tab"
- Append current tab title to "Current tab" entry
- Avoid iterating through all tabs when no change
2018-05-27 08:31:17 -04:00
anvakl
33fa25bbe5
fix for gorhill/uBlock#3464 ( #3616 )
...
Adding index to insertRule fixed the issue
2018-03-17 13:35:36 -04:00
Raymond Hill
7eeba29220
fix #3551 : regressions as a result of fix to #3428
2018-02-27 06:54:48 -05:00
Raymond Hill
0414ce80a0
code review for #3428
2018-02-26 16:52:16 -05:00
Raymond Hill
2c901588c7
fix #3546 , #3428
2018-02-26 13:59:16 -05:00
Raymond Hill
9fa1c37183
code review: fix eraser when using "Current tab" view in logger
2018-01-10 11:50:08 -05:00
Raymond Hill
6cdb20dffe
improve logger convenience following fix for #2854
2018-01-09 08:08:17 -05:00
Raymond Hill
689d18c54f
fix #2854
2018-01-08 14:29:39 -05:00
gorhill
806032cdc4
improve DOM inspector
...
- Fix regressions reported in #3159
- Fix #2001
- Fix some item points in #407
2017-11-20 08:42:32 -05:00
gorhill
2ca8c76cb8
fix #3187
2017-11-02 11:12:17 -04:00
gorhill
186c119202
fix #2753
2017-07-03 10:54:30 -04:00
gorhill
2cb8ddbe03
fix #2740
2017-07-03 10:20:47 -04:00
gorhill
0232382695
refactor static network filtering, add support for csp injection
2017-05-12 10:35:11 -04:00
gorhill
3b41237e4b
fix #2301
2017-01-12 08:45:46 -05:00
gorhill
235d1266e8
fix #2210
2016-12-03 09:21:31 -05:00
gorhill
02a79ea9fc
avoid CPU-costly Date.toLocale(Date|Time)String() in logger page
2016-12-02 12:17:07 -05:00
gorhill
b55447635e
fix #2106 (regression from #1669 )
2016-10-29 09:55:09 -04:00
gorhill
de587335bd
elemhide
is (and has always been) really generichide
2016-10-27 08:33:19 -04:00
gorhill
c3582e1aca
minor code review: render domain=
option as the last one
2016-08-30 19:54:42 -04:00
gorhill
5cbe583c0a
fix #1929
2016-08-23 10:33:28 -04:00
gorhill
ed315d0a3b
fix #1786
2016-07-07 16:42:01 -04:00
gorhill
b61fb331de
fix the undue discarding of logger events in edge cases
2016-05-07 11:45:26 -04:00
gorhill
62b087ef88
this fixes #1511 (point 2)
2016-03-28 09:31:53 -04:00
gorhill
74905aa2a5
this fixes #370 , #1477
2016-03-15 11:18:34 -04:00
gorhill
eb8c17d55c
this takes care of #1443
2016-03-08 16:35:06 -05:00
gorhill
c96d90b048
this fixes #883
2016-03-06 19:16:46 -05:00
gorhill
fbafeb03ae
#1171 : use <<
for redirection events
2016-01-15 09:17:59 -05:00
gorhill
7722f25603
#1171 : use >>
to mark redirection events
2016-01-11 08:28:07 -05:00
gorhill
91c2763259
this fixes #1171
2016-01-07 17:30:56 -05:00
gorhill
af4dba5158
this fixes #1064
2015-12-14 00:54:41 -05:00
gorhill
a3c8e6b37e
code review: stricter interpretation of ^
2015-12-05 12:25:18 -05:00
gorhill
c3f206e704
#1010 : new filter type: "popunder", to explicitly filter popunders
2015-12-04 11:15:09 -05:00
gorhill
6c46a89142
truncate pointlessly too long labels in selector
2015-10-24 09:24:27 -04:00
gorhill
9b4b998364
#608 : this fixes a bunch of strictness-related warnings
2015-08-18 11:44:24 -04:00
gorhill
528354f594
this fixes #507
2015-08-01 11:30:54 -04:00
gorhill
fa4e3ca492
this completely fixes #490
2015-07-13 08:49:58 -04:00
gorhill
53aa705453
minor code review
2015-07-09 09:11:50 -04:00
gorhill
2f786ae921
#465 : decompiler should never return a blank string
2015-07-09 09:08:49 -04:00
gorhill
235bce9faf
"subdocument" filters reported as "sub_frame"
2015-07-07 11:04:24 -04:00
gorhill
4458ea5d7d
this fixes net inspector interfering with modal dialogs
2015-07-06 10:19:17 -04:00
gorhill
c11421d574
this fixes logger v-scroll not being pinned anymore (regression)
2015-07-06 07:42:30 -04:00
gorhill
6a912531dc
this fixes broken row filtering for tab selector and popup UI
2015-07-02 19:42:51 -04:00
gorhill
5775fe32b8
Firefox: prevent currently selected tab from being reset in selector
2015-07-01 19:50:43 -04:00
gorhill
a0607702b1
dom inspector: this fixes non-sticky toolbars
2015-07-01 09:19:13 -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
58b6552207
code review
2015-06-27 16:18:29 -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
2fd7a73c62
this fixes #404
2015-06-25 19:09:47 -04:00
gorhill
131e93770f
this addresses wrong filter type in #370
2015-06-18 17:23:52 -04:00
gorhill
fcf77ff2e9
this fixes https://github.com/gorhill/uBlock/issues/136#issuecomment-112927961
2015-06-17 16:45:24 -04:00
gorhill
41a90bd55e
this fixes #345
2015-06-14 20:11:25 -04:00
gorhill
eeca7cb41f
this fixes #346
2015-06-14 19:40:55 -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
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
2234933b82
this fixes #59 : now accurately reporting static filters in logger
2015-06-09 10:27:08 -04:00
gorhill
0df09ba193
this addresses https://crowdin.com/mail/message/310194
2015-06-07 09:50:38 -04:00
gorhill
91cb61ce9c
code review: important filter option senseless for exception filters
2015-06-06 18:45:30 -04:00
gorhill
48f47a6849
logger: ability to create static net filters
2015-06-06 18:31:38 -04:00
gorhill
9706e8ab24
tooltip is annoying, frame context will be exposed in next version
2015-06-04 23:33:40 -04:00
gorhill
53a78ceb39
context provided in title attr of URL in logger (until I figure a better way)
2015-06-04 19:27:03 -04:00
gorhill
39fb395e2c
this fixes #247
2015-05-27 20:48:04 -04:00
gorhill
a48574dd1b
no picker for behind-the-scene resources
2015-05-27 17:23:45 -04:00
gorhill
93a3965e53
fine tuning dynamic URL filtering UI + i18n
2015-05-26 09:52:09 -04:00
gorhill
72c930ddff
logger: UI work on URL-based dynamic filtering
2015-05-24 18:50:09 -04:00
gorhill
c265d6747b
this addresses #232
2015-05-23 09:27:24 -04:00
gorhill
43f9657d0f
this fixes #227
2015-05-22 08:05:55 -04:00
gorhill
284b4f62d1
dynamic url filtering
2015-05-21 14:15:17 -04:00
gorhill
ea4f4cee72
logger: do not regenerate whole tab selector if no change
2015-05-18 08:12:35 -04:00
gorhill
facef0dc05
this fixes many addon validation warnings
2015-05-17 13:02:56 -04:00