Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- There way no reason to build a new script tag, we can just use a script tag directly. I don't know why I did it like that; probably just copy/paste from other sources who copy/pasted it themselves? - Document CSP requirements and use data-goatcounter attribute so people don't have to set window.counter. - Add CORS header so people can load it from XHR/fetch without count.js - Document some more advanced usages. Fixes #107, #114
- Loading branch information
Showing
4 changed files
with
84 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters