You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-14
Original file line number
Diff line number
Diff line change
@@ -44,20 +44,6 @@ For a ready to use example/boilerplate repo, look no further:
44
44
45
45
-**[GmailJS Node Boilerplate](https://github.com/josteink/gmailjs-node-boilerplate)** - Example for how to create a browser-extension using GmailJS and modern javascript with NodeJS and script-bundling for instant load-times.
46
46
47
-
### Content Security Policy (legacy advice)
48
-
49
-
In earlier advice given w.r.t. deployment of GmailJS, where scripts were injected one by
50
-
one, with cumbersome loading and probing mechanisms, CSP could be an
51
-
problem causing your extension to fail if GmailJS was injected incorrectly.
52
-
53
-
If you use modern javascript and script-bundling in your extension (like in the boilerplate example), CSP will not interfere with loading
54
-
of your extension, nor GmailJS.
55
-
56
-
If you have any issues with CSP, the general advice is to build your extension using script-bundling and eliminate the cause of the error
57
-
all together.
58
-
59
-
While you may be able to make it work, legacy loading is no longer considered supported by GmailJS.
60
-
61
47
## Typescript
62
48
63
49
Using gmail-js with TypeScript is relatively easy, but if you use normal `import` syntax it
0 commit comments