electron/docs
Tomáš Hübelbauer 35ebbb5f6e docs: add a CSP meta tag to make the tutorial compliant with the security checklist (#19819)
I've asked #19775 because I was frustrated with how hard it was to find a way to fix (instead of hide) the CSP warning in Electron and I complained that even the official quick start guide wasn't compliant with the security checklist at https://electronjs.org/docs/tutorial/security. Someone helped me out with a CSP meta tag which I have later noticed is indeed mentioned in the checklist, too: https://electronjs.org/docs/tutorial/security#csp-meta-tag. I have not used the checklist one verbatim because it prevents a `script` tag from working when serving `index.html` through the `file:` protocol as the quick start does. I instead used the one the person in my issue recommended which seems to work well to me. I am not that well versed in CSP so there might be a better policy to include with the quick start, but this is what I've got for now.
2019-08-29 17:06:51 +09:00
..
api feat: add session.downloadURL() (#19889) 2019-08-28 20:27:20 -07:00
development docs: mention QuickEdit in Windows troubleshooting (#19701) 2019-08-14 14:23:12 -07:00
fiddles/screen/fit-screen docs: add exemplary fiddle for launch in fiddle feat (#19759) 2019-08-15 15:37:37 -07:00
images docs: add missing image (#18235) 2019-05-13 16:55:41 -04:00
tutorial docs: add a CSP meta tag to make the tutorial compliant with the security checklist (#19819) 2019-08-29 17:06:51 +09:00
faq.md docs: fix spelling and grammar errors (#18910) 2019-06-21 16:19:21 -05:00
glossary.md
README.md docs: reorganize application distribution links in table of contents (#18744) 2019-06-15 17:13:52 +09:00
styleguide.md docs: differentiate static/instance class props (#19196) 2019-07-15 10:15:32 -07:00

Official Guides

Please make sure that you use the documents that match your Electron version. The version number should be a part of the page URL. If it's not, you are probably using the documentation of a development branch which may contain API changes that are not compatible with your Electron version. To view older versions of the documentation, you can browse by tag on GitHub by opening the "Switch branches/tags" dropdown and selecting the tag that matches your version.

FAQ

There are questions that are asked quite often. Check this out before creating an issue:

Guides and Tutorials

Detailed Tutorials

These individual tutorials expand on topics discussed in the guide above.


API References

Custom DOM Elements:

Modules for the Main Process:

Modules for the Renderer Process (Web Page):

Modules for Both Processes:

Development

See development/README.md