- Go to https://unpkg.toolforge.org/
- Find <script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script> in its source code
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T133919 [EPIC] Protect end-user privacy by restricting non-consensual third-party browser interactions | |||
Open | None | T130748 Add Content-Security-Policy header enforcing 3rd party web interaction restrictions to proxy responses | |||
Open | None | T172065 Hunt for Toolforge tools that load resources from third party sites | |||
Resolved | simon04 | T312048 Tool "unpkg" loads assets from Google |
Event Timeline
Comment Actions
Thanks for reporting. Fixed.
commit 7ea1b9194f5ab8aa47ed671129708d21be25e435 (HEAD -> toolforge.org) Author: Simon Legner <Simon.Legner@gmail.com> Date: Fri Jun 9 16:07:14 2023 +0000 Remove googletagmanager.com T312048 diff --git a/modules/templates/MainTemplate.js b/modules/templates/MainTemplate.js index 3f09d60..fa3363b 100644 --- a/modules/templates/MainTemplate.js +++ b/modules/templates/MainTemplate.js @@ -27,15 +27,6 @@ export default function MainTemplate({ e( 'head', null, - // Global site tag (gtag.js) - Google Analytics - e('script', { - async: true, - src: 'https://www.googletagmanager.com/gtag/js?id=UA-140352188-1' - }), - x(`window.dataLayer = window.dataLayer || []; -function gtag(){dataLayer.push(arguments);} -gtag('js', new Date()); -gtag('config', 'UA-140352188-1');`), e('meta', { charSet: 'utf-8' }), e('meta', { httpEquiv: 'X-UA-Compatible', content: 'IE=edge,chrome=1' }), description && e('meta', { name: 'description', content: description }),
> NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 npm run build > webservice --backend=kubernetes node16 restart