You are viewing a plain text version of this content. The canonical link for it is here.
Posted to geb-notifications@groovy.apache.org by sd...@apache.org on 2025/02/06 10:16:45 UTC

(groovy-geb) branch remove-google-analytics created (now 0d895731)

This is an automated email from the ASF dual-hosted git repository.

sdelamo pushed a change to branch remove-google-analytics
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git


      at 0d895731 remove google analytics script

This branch includes the following new commits:

     new 0d895731 remove google analytics script

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(groovy-geb) 01/01: remove google analytics script

Posted by sd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sdelamo pushed a commit to branch remove-google-analytics
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git

commit 0d8957314af7a6995ba8e5c66ed564f763c0ca45
Author: Sergio del Amo <se...@softamo.com>
AuthorDate: Thu Feb 6 11:16:38 2025 +0100

    remove google analytics script
---
 doc/manual/src/docs/asciidoc/docinfo.html | 17 -----------------
 doc/site/templates/main.html              | 20 --------------------
 2 files changed, 37 deletions(-)

diff --git a/doc/manual/src/docs/asciidoc/docinfo.html b/doc/manual/src/docs/asciidoc/docinfo.html
index 73236bf2..e69de29b 100644
--- a/doc/manual/src/docs/asciidoc/docinfo.html
+++ b/doc/manual/src/docs/asciidoc/docinfo.html
@@ -1,17 +0,0 @@
-<script type="text/javascript">
-
-    var _gaq = _gaq || [];
-    _gaq.push(['_setAccount', 'UA-15031038-2']);
-    _gaq.push(['_trackPageview', location.pathname + location.hash]);
-
-    window.onhashchange = function() {
-        _gaq.push(['_trackPageview', location.pathname + location.hash]);
-    };
-
-    (function() {
-        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-    })();
-
-</script>
\ No newline at end of file
diff --git a/doc/site/templates/main.html b/doc/site/templates/main.html
index 3446a9e3..112e2896 100644
--- a/doc/site/templates/main.html
+++ b/doc/site/templates/main.html
@@ -4,28 +4,8 @@
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <meta name="Robots" content="index,follow" />
-    <script type="text/javascript">
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-15031038-2']);
-        _gaq.push(['_trackPageview', location.pathname + location.hash]);
-
-        window.onhashchange = function() {
-            _gaq.push(['_trackPageview', location.pathname + location.hash]);
-        };
-
-        (function() {
-            var ga = document.createElement('script');
-            ga.type = 'text/javascript';
-            ga.async = true;
-            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-            var s = document.getElementsByTagName('script')[0];
-            s.parentNode.insertBefore(ga, s);
-        })();
-    </script>
-
     <link rel="stylesheet" href="/css/semantic.min.css">
     <link rel="stylesheet" href="/css/base.css">
-
     <link type="text/css" rel="stylesheet" href="/css/shCore.css" />
     <link type="text/css" rel="stylesheet" href="/css/shThemeEclipse.css" />
     <title>Geb - Very Groovy Browser Automation</title>