Project

General

Profile

Download (3.96 KB) Statistics
| Branch: | Tag: | Revision:

haketilo / TODOS.org @ 7ee7889a

1
TODO:
2
- parallelize fetching of remote scripts
3
- allow specifying whether a script occurring mutiple times directly
4
  or indirectly in a bag should be included multiple times or once
5
- make it possible to provide backup urls for remote scripts
6
- make it possible to cache remote scripts
7
- optimize url querying
8
- make it possible to automatically download page's served scripts and save them (of course, this by itself -- CRUCIAL
9
  would give little benefit, but it will make it easy to modify this set of scripts - useful, if some of
10
  those scripts are already free, as is often the case)
11
  - also, find some convenient way to automatically re-add "on" events ("onclick" & friends)
12
- add some good, sane error handling
13
- make it possible to export page settings in some format -- CRUCIAL
14
- get rid of those warnings and exceptions in console (many are not even related to this extension;
15
  who invented this thing?) (gecko-only)
16
- make page settings easily and conveniently editable in popup -- CRUCIAL
17
  - in popup make it possible to edit both main frame page's
18
    settings and settings for pages that currently happen to
19
    live in iframes
20
- add some nice styling to settings page
21
- make script bag components re-orderable (via drag&drop in options page) -- CRUCIAL
22
- find some way not to require each chrome user to modify manifest.json
23
- rename the extension to something good
24
- test with more browser forks (Abrowser, Parabola IceWeasel, LibreWolf)
25
  - also see if browsers based on pre-quantum FF support enough of
26
    WebExtensions for easy porting
27
- make sure page's own csp in <head> doesn't block our scripts
28
- make blocking more torough -- CRUCIAL
29
  - mind the data: urls -- CRUCIAL
30
- find out how and make it possible to whitelist non-https urls and
31
  whether we can inject csp to them
32
- create a repository to host scripts
33
  - enable the extension to automatically fetch script substitutes from the repo
34
- make it possible to inject scripts to arbitrary places in DOM
35
  - make script blocking code omit those scripts
36
- check if prerendering has to be blocked -- CRUCIAL
37
- block prefetch
38
- rearrange files in extension, add some mechanism to build the extension
39
- all solutions to modularize js code SUCK; come up with own simple DSL
40
  to manage imports/exports
41
- perform never-ending refactoring of already-written code
42
- also implement support for whitelisting of non-https urls
43
- validate data entered in settings
44
- stop always using the same script nonce on given https(s) site (this
45
  improvement seems to be unachievable in case of other protocols)
46
- besides blocking scripts through csp, also block connections that needlessly
47
  fetch those scripts
48
- make extension's all html files proper XHTML
49

    
50
DONE:
51
- make it possible to use wildcard urls in settings -- DONE 2021-05-14
52
- port to gecko-based browsers -- DONE 2021-05-13
53
- find a way to additionally block all other scripts using CSP -- DONE 2021-05-13
54
- only allow a single injection payload for page -- DONE 2021-05-13
55
- rename "bundles" to "bags" to avoid confusion with Web Bundles -- DONE 2021-05-12
56
- use non-predictable value in place of "myext-allow", utilizing hashes -- DONE 2021-05-12
57
- stop using modules (not available on all browsers) -- DONE 2021-05-12
58
- clean up the remnants of LibreJS -- DONE 2021-05-12
59
- implement whitelisting -- DONE 2021-05-07
60
- find way to also block scripts in non-http pages (e.g. file://) -- DONE 2021-05-07 (via content scripts, may not be perfect)
61
  (NoScript seems to be doing this through CSP)
62
- make page settings easily and conveniently editable in a separate window/tab -- DONE 2021-05-05
63
- replace comparisons with stricter ones (e.g. do `if(foo === undefined)` instead of `if(!foo)`) -- DONE
64
- make local storage safe (serialize storage accesses in background script) -- DONE
65
- split main.js into multiple files -- DONE 2021-01-05
66
- make it possible to store entire script files in storage (not just links) -- DONE 2021-01-05
67
  - make it possible to re-use the same script or set of scripts multiple times -- DONE 2021-01-05
(3-3/4)