1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-17 16:02:33 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
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
fb2b402940
use Element.matches instead of ugly hack 2018-04-09 08:28:36 -04:00
gorhill
446d7fad2e fix #2010, #2086 2016-11-05 14:48:42 -04:00
gorhill
46fb194904 fix #2084 2016-10-18 12:33:50 -04:00
gorhill
47f6a565fa return null for non-existing elements 2015-12-13 00:17:38 -05:00
gorhill
9b4b998364 #608: this fixes a bunch of strictness-related warnings 2015-08-18 11:44:24 -04:00
gorhill
2223f5e457 this fixes #512 2015-07-20 16:33:07 -04:00
gorhill
ff0ad30ba6 same with querySelector 2015-06-10 08:58:10 -04:00
gorhill
c27b18d7d1 sometimes we just want a simple DOM node lookup, not a heavy wrapper 2015-06-10 08:25:47 -04:00
gorhill
8afe6aa275 not needed, this will address one FF validator warning 2015-06-06 19:09:04 -04:00
gorhill
ed88939a63 this fixes #792 2015-03-14 14:12:05 -04:00
Deathamns
95b778fbc7 Change extension description 2015-03-07 19:20:18 +01:00
Deathamns
b4ea545412 Implement vAPI.insertHTML
The purpose of this API is basically to satisfy AMO reviewers in the
future, since the use of innerHTML with variables (i.e., not plain text) will
be rejected without any questions.

Since this is not a problem for browsers other than Firefox, they will
use simple innerHTML assignment, however safe-parsing could be implemented
for them too.
2015-01-13 07:30:07 +01:00
gorhill
9fc136e7e8 hopefully this fixes #470 2015-01-10 11:23:28 -05:00
gorhill
ea2043c0eb auto cleanup of listeners 2015-01-04 10:03:51 -05:00
Deathamns
2024ba1bcd Fix wrong fix in 4bf6664 2014-11-10 19:25:17 +01:00
Deathamns
4bf6664d6b Fix double definition of length property in uDom
The `length` property of `DOMList` couldn't be re-defined, because earlier
an Object.defineProperty was used on the object without a setter.
2014-11-09 17:41:09 +01:00
Deathamns
0886f7e886 Add .jshintrc, and use the "use strict" directive
.jshintrc's otion-set is a personal choice, merely a suggestion.
Beside that, it includes some common globals for specific browsers, so
there's no need to set the globals in every .js file.

In order to force strict coding, "use strict" directive was added into
every .js file.
2014-11-09 17:39:17 +01:00
Deathamns
5b79bf3536 Work on vendor API abstraction, and near complete Safari support 2014-11-09 17:39:12 +01:00