-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNotes
More file actions
25 lines (13 loc) · 782 Bytes
/
Notes
File metadata and controls
25 lines (13 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Check this link out it has a nice extensive example of how the chrome api communicates
with the webpage and the browser.
https://stackoverflow.com/questions/19758028/chrome-extension-get-dom-content
Obviously Chrome Documentation is useful keep studying that
Can read the errors and background.js noise in chrome://extensions inspect views
Fix this:
Error in event handler for (unknown): TypeError: Cannot read property 'farewell' of undefined
at chrome-extension://lcbeacbmkhgdocdbodjmeibgeopejjji/background.js:20:17
Planned Control Flow of Extension:
-Content Scripts fire (website data,)
-- Content Sends Data to Background and Other script sends data to Background
--- Data is sent both to content.js and popup.js
---- DOM of content.js is replaced or "fixed"