-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
268 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,248 @@ | ||
- | ||
var googleDomains = [ | ||
"*.google.com", | ||
"*.google.ad", | ||
"*.google.ae", | ||
"*.google.com.af", | ||
"*.google.com.ag", | ||
"*.google.com.ai", | ||
"*.google.al", | ||
"*.google.am", | ||
"*.google.co.ao", | ||
"*.google.com.ar", | ||
"*.google.as", | ||
"*.google.at", | ||
"*.google.com.au", | ||
"*.google.az", | ||
"*.google.ba", | ||
"*.google.com.bd", | ||
"*.google.be", | ||
"*.google.bf", | ||
"*.google.bg", | ||
"*.google.com.bh", | ||
"*.google.bi", | ||
"*.google.bj", | ||
"*.google.com.bn", | ||
"*.google.com.bo", | ||
"*.google.com.br", | ||
"*.google.bs", | ||
"*.google.bt", | ||
"*.google.co.bw", | ||
"*.google.by", | ||
"*.google.com.bz", | ||
"*.google.ca", | ||
"*.google.cd", | ||
"*.google.cf", | ||
"*.google.cg", | ||
"*.google.ch", | ||
"*.google.ci", | ||
"*.google.co.ck", | ||
"*.google.cl", | ||
"*.google.cm", | ||
"*.google.cn", | ||
"*.google.com.co", | ||
"*.google.co.cr", | ||
"*.google.com.cu", | ||
"*.google.cv", | ||
"*.google.com.cy", | ||
"*.google.cz", | ||
"*.google.de", | ||
"*.google.dj", | ||
"*.google.dk", | ||
"*.google.dm", | ||
"*.google.com.do", | ||
"*.google.dz", | ||
"*.google.com.ec", | ||
"*.google.ee", | ||
"*.google.com.eg", | ||
"*.google.es", | ||
"*.google.com.et", | ||
"*.google.fi", | ||
"*.google.com.fj", | ||
"*.google.fm", | ||
"*.google.fr", | ||
"*.google.ga", | ||
"*.google.ge", | ||
"*.google.gg", | ||
"*.google.com.gh", | ||
"*.google.com.gi", | ||
"*.google.gl", | ||
"*.google.gm", | ||
"*.google.gr", | ||
"*.google.com.gt", | ||
"*.google.gy", | ||
"*.google.com.hk", | ||
"*.google.hn", | ||
"*.google.hr", | ||
"*.google.ht", | ||
"*.google.hu", | ||
"*.google.co.id", | ||
"*.google.ie", | ||
"*.google.co.il", | ||
"*.google.im", | ||
"*.google.co.in", | ||
"*.google.iq", | ||
"*.google.is", | ||
"*.google.it", | ||
"*.google.je", | ||
"*.google.com.jm", | ||
"*.google.jo", | ||
"*.google.co.jp", | ||
"*.google.co.ke", | ||
"*.google.com.kh", | ||
"*.google.ki", | ||
"*.google.kg", | ||
"*.google.co.kr", | ||
"*.google.com.kw", | ||
"*.google.kz", | ||
"*.google.la", | ||
"*.google.com.lb", | ||
"*.google.li", | ||
"*.google.lk", | ||
"*.google.co.ls", | ||
"*.google.lt", | ||
"*.google.lu", | ||
"*.google.lv", | ||
"*.google.com.ly", | ||
"*.google.co.ma", | ||
"*.google.md", | ||
"*.google.me", | ||
"*.google.mg", | ||
"*.google.mk", | ||
"*.google.ml", | ||
"*.google.com.mm", | ||
"*.google.mn", | ||
"*.google.ms", | ||
"*.google.com.mt", | ||
"*.google.mu", | ||
"*.google.mv", | ||
"*.google.mw", | ||
"*.google.com.mx", | ||
"*.google.com.my", | ||
"*.google.co.mz", | ||
"*.google.com.na", | ||
"*.google.com.ng", | ||
"*.google.com.ni", | ||
"*.google.ne", | ||
"*.google.nl", | ||
"*.google.no", | ||
"*.google.com.np", | ||
"*.google.nr", | ||
"*.google.nu", | ||
"*.google.co.nz", | ||
"*.google.com.om", | ||
"*.google.com.pa", | ||
"*.google.com.pe", | ||
"*.google.com.pg", | ||
"*.google.com.ph", | ||
"*.google.com.pk", | ||
"*.google.pl", | ||
"*.google.pn", | ||
"*.google.com.pr", | ||
"*.google.ps", | ||
"*.google.pt", | ||
"*.google.com.py", | ||
"*.google.com.qa", | ||
"*.google.ro", | ||
"*.google.ru", | ||
"*.google.rw", | ||
"*.google.com.sa", | ||
"*.google.com.sb", | ||
"*.google.sc", | ||
"*.google.se", | ||
"*.google.com.sg", | ||
"*.google.sh", | ||
"*.google.si", | ||
"*.google.sk", | ||
"*.google.com.sl", | ||
"*.google.sn", | ||
"*.google.so", | ||
"*.google.sm", | ||
"*.google.sr", | ||
"*.google.st", | ||
"*.google.com.sv", | ||
"*.google.td", | ||
"*.google.tg", | ||
"*.google.co.th", | ||
"*.google.com.tj", | ||
"*.google.tl", | ||
"*.google.tm", | ||
"*.google.tn", | ||
"*.google.to", | ||
"*.google.com.tr", | ||
"*.google.tt", | ||
"*.google.com.tw", | ||
"*.google.co.tz", | ||
"*.google.com.ua", | ||
"*.google.co.ug", | ||
"*.google.co.uk", | ||
"*.google.com.uy", | ||
"*.google.co.uz", | ||
"*.google.com.vc", | ||
"*.google.co.ve", | ||
"*.google.vg", | ||
"*.google.co.vi", | ||
"*.google.com.vn", | ||
"*.google.vu", | ||
"*.google.ws", | ||
"*.google.rs", | ||
"*.google.co.za", | ||
"*.google.co.zm", | ||
"*.google.co.zw", | ||
"*.google.cat" | ||
].join(" "); | ||
- | ||
var defaultSrc = [ | ||
"'self'", | ||
].join(" "); | ||
- | ||
var scriptSrc = [ | ||
"'self'", | ||
"blob:", | ||
"'nonce-%APP_NONCE%'", | ||
"www.googletagmanager.com", | ||
"*.googletagmanager.com", | ||
"www.google-analytics.com", | ||
"analytics.google.com" | ||
].join(" "); | ||
- | ||
var styleSrc = [ | ||
"'self'", | ||
"'unsafe-inline'", | ||
"fonts.googleapis.com" | ||
].join(" "); | ||
- | ||
var imgSrc = [ | ||
"'self'", | ||
"data:", | ||
"www.googletagmanager.com", | ||
"*.google-analytics.com", | ||
"*.analytics.google.com", | ||
"*.googletagmanager.com", | ||
"*.g.doubleclick.net" | ||
].join(" ") + " " + googleDomains; | ||
- | ||
var fontSrc = [ | ||
"'self'", | ||
"fonts.gstatic.com" | ||
].join(" "); | ||
- | ||
var connectSrc = [ | ||
"'self'", | ||
"*.google-analytics.com", | ||
"*.analytics.google.com", | ||
"*.googletagmanager.com", | ||
"*.g.doubleclick.net", | ||
].join(" ") + " " + googleDomains; | ||
- | ||
var frameSrc = [ | ||
].join(" "); | ||
meta(http-equiv="Content-Security-Policy" content="default-src " + defaultSrc + "; script-src " + scriptSrc + "; style-src " + styleSrc + "; img-src " + imgSrc + "; font-src " + fontSrc + "; connect-src " + connectSrc + "; frame-src " + frameSrc + ";") |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!-- Google Tag Manager (noscript) --> | ||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-54B6D4G" | ||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=%APP_GOOGLE_TAG_MANAGER_ID%" | ||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
<!-- End Google Tag Manager (noscript) --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<!-- Google Tag Manager --> | ||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | ||
<script nonce="%APP_NONCE%">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | ||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | ||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | ||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | ||
})(window,document,'script','dataLayer','GTM-54B6D4G');</script> | ||
})(window,document,'script','dataLayer','%APP_GOOGLE_TAG_MANAGER_ID%');</script> | ||
<!-- End Google Tag Manager --> |
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