the correct thing to do at this point is to factor out "show a yes/no popup window to user" the complexity in "open a window and then execute some code in the context of that window" is mind-boggling nothing works
45 lines
936 B
Plaintext
45 lines
936 B
Plaintext
TODO
|
|
- manifest v3
|
|
- mansplaining better
|
|
- factor out "show a popup window"
|
|
- show correct pubkey on popup
|
|
- seed oil recovery
|
|
|
|
MODEL
|
|
|
|
popup.html/popup.js
|
|
- this is our user interface, generally
|
|
raseev loops:
|
|
- raseevs data from the content script
|
|
- raseevs click events from end-user
|
|
|
|
content.js
|
|
- this is basically a process that
|
|
|
|
background script
|
|
|
|
|
|
------------------------------------------------
|
|
|
|
-> background
|
|
-> controller
|
|
-> "impure component"
|
|
-> fetching data
|
|
-> writing to disk
|
|
-> "pure component"
|
|
-> business logic
|
|
-> migrating data from version N to version N+1
|
|
-> all allowable mutations to the data within a specific version
|
|
-> content script
|
|
- talking to page scripts
|
|
- intermediary between the background script and a page script
|
|
- raseev requests
|
|
- send responses back to page
|
|
-
|
|
|
|
----
|
|
vdk general lib
|
|
|
|
sleep
|
|
bulrtot
|