update TODO - surf-adblock - Surf adblock web extension
(HTM) git clone git://git.codemadness.org/surf-adblock
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit e59bcd09e0c4e97b7421be5462f07cfb0dcbc7b3
(DIR) parent 738a182c7157b3f2c0bb9a939d279cae3e1eb0b1
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 4 Jun 2017 18:40:45 +0200
update TODO
Diffstat:
M TODO | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
---
(DIR) diff --git a/TODO b/TODO
@@ -1,31 +1,27 @@
+- add test-case for global exception rules (no domains), see globalcss init code.
+- test blocking websocket connections in surf.
+- skip protocol part when matching for now, (later add support for websockets).
+- for f->matchbegin, matchend etc: make sure to match domain properly, check part of
+ domain (subdomain).
- optimize towupper for fnmatch? check < 128, see musl optimization.
-
- fix blocking of : ||ads.somesite.com^
matchbegin and matchend rules are wrong.
-
- fix tweakers.net popup / rule.
this is in an exception rule...
make sure exception rules are always below in the list? modify awk script?
-
- preprocess pattern upfront (no copying of data per match (snprintf)).
-
- performance:
- benchmark rule matching (timing).
- bloom filters? some kind of cache?
- optimize simple filter case.
- also for single wildcard (at most start or end)? */bla or /bla*
-
- support separator "^" = [/\?]?
- test it better.
-
- CSS: separate CSS rules so it never is iterated in request rules.
? Cache all global rules, iterate site rules per site?
-
-===
-
- there is a websocket option? ignore it: block it in surf itself.
- how to detect a websocket url? ws://, websocket:// or w/e?
+ test if websockets use ws:// prefix.
- show linenr on error / ignored rule.
Docs:
@@ -49,4 +45,3 @@ Docs:
- optimize memory allocation.
- optimize: pregenerate one global stylesheet that applies to all sites?
- separate adblocker into daemon? not sure.
-? support exception rules #@#