Skip to content

Commit 725d9cc

Browse files
committed
Remove Google Ads
1 parent de5327c commit 725d9cc

File tree

325 files changed

+1
-19383
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

325 files changed

+1
-19383
lines changed

Diff for: 404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
<table style="width:100%">
108108
<tr valign="top">
109109
<td align="left">
110-
Copyright 2004-2024. All rights reserved unless otherwise noted.<br/>
110+
Copyright 2004-2025. All rights reserved unless otherwise noted.<br/>
111111
</td>
112112
<td align="right">
113113
<a href="/cargo/Cookies.html">Click here to read our privacy and cookie policy</a>

Diff for: ads.txt

-1
This file was deleted.

Diff for: cargo/Adding+TLD+support+to+the+Jetty+container.html

-60
Original file line numberDiff line numberDiff line change
@@ -14,66 +14,6 @@
1414
function gtag(){dataLayer.push(arguments);}
1515
gtag('js', new Date());
1616
gtag('config', 'G-MYCEY8S1MG');
17-
</script><!-- Google Ads -->
18-
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
19-
<script>
20-
(adsbygoogle = window.adsbygoogle || []).push({
21-
google_ad_client: "ca-pub-7996505557003356",
22-
enable_page_level_ads: true
23-
});
24-
25-
// Define dataLayer and the gtag function.
26-
window.dataLayer = window.dataLayer || [];
27-
function gtag(){dataLayer.push(arguments);}
28-
29-
// Set default consent to 'denied'
30-
gtag('consent', 'default', {
31-
'ad_storage': 'denied',
32-
'ad_user_data': 'denied',
33-
'ad_personalization': 'denied',
34-
'analytics_storage': 'denied'
35-
});
36-
</script>
37-
<script>
38-
// The way Google handles the element is that the height (with the ad) is fixed,
39-
// appearing and disappearing is handled by making the bottom or top style negative
40-
window.setInterval(function() {
41-
var paddingBottom = 0;
42-
var paddingTop = 0;
43-
var headerPosition = "fixed";
44-
var ins = document.getElementsByTagName("ins");
45-
for (i of ins) {
46-
if (
47-
i.className && i.className.indexOf("adsbygoogle") != -1 &&
48-
i.style && i.style.display == "block") {
49-
if (i.style.bottom) {
50-
var bottom = parseInt(i.style.bottom)
51-
if (!isNaN(bottom)) {
52-
var space = i.offsetHeight + bottom;
53-
if (space < 0) {
54-
space = 0;
55-
}
56-
paddingBottom = space;
57-
}
58-
} else if (i.style.top) {
59-
var top = parseInt(i.style.top)
60-
if (!isNaN(top)) {
61-
var space = i.offsetHeight + top;
62-
if (space < 0) {
63-
space = 0;
64-
}
65-
paddingTop = space;
66-
}
67-
}
68-
}
69-
}
70-
71-
document.getElementById("cargo-navigation").style.paddingBottom = paddingBottom + "px";
72-
document.getElementById("cargo-content").style.paddingBottom = paddingBottom + "px";
73-
document.getElementById("cargo-header").style.paddingTop = paddingTop + "px";
74-
document.getElementById("cargo-header-spacing").style.height = (83 + paddingTop) + "px";
75-
document.getElementById("cargo-header").style.position = headerPosition;
76-
}, 100);
7717
</script>
7818
</head>
7919
<body>

Diff for: cargo/Adding+a+JMS+resource+to+Resin3x.html

-60
Original file line numberDiff line numberDiff line change
@@ -14,66 +14,6 @@
1414
function gtag(){dataLayer.push(arguments);}
1515
gtag('js', new Date());
1616
gtag('config', 'G-MYCEY8S1MG');
17-
</script><!-- Google Ads -->
18-
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
19-
<script>
20-
(adsbygoogle = window.adsbygoogle || []).push({
21-
google_ad_client: "ca-pub-7996505557003356",
22-
enable_page_level_ads: true
23-
});
24-
25-
// Define dataLayer and the gtag function.
26-
window.dataLayer = window.dataLayer || [];
27-
function gtag(){dataLayer.push(arguments);}
28-
29-
// Set default consent to 'denied'
30-
gtag('consent', 'default', {
31-
'ad_storage': 'denied',
32-
'ad_user_data': 'denied',
33-
'ad_personalization': 'denied',
34-
'analytics_storage': 'denied'
35-
});
36-
</script>
37-
<script>
38-
// The way Google handles the element is that the height (with the ad) is fixed,
39-
// appearing and disappearing is handled by making the bottom or top style negative
40-
window.setInterval(function() {
41-
var paddingBottom = 0;
42-
var paddingTop = 0;
43-
var headerPosition = "fixed";
44-
var ins = document.getElementsByTagName("ins");
45-
for (i of ins) {
46-
if (
47-
i.className && i.className.indexOf("adsbygoogle") != -1 &&
48-
i.style && i.style.display == "block") {
49-
if (i.style.bottom) {
50-
var bottom = parseInt(i.style.bottom)
51-
if (!isNaN(bottom)) {
52-
var space = i.offsetHeight + bottom;
53-
if (space < 0) {
54-
space = 0;
55-
}
56-
paddingBottom = space;
57-
}
58-
} else if (i.style.top) {
59-
var top = parseInt(i.style.top)
60-
if (!isNaN(top)) {
61-
var space = i.offsetHeight + top;
62-
if (space < 0) {
63-
space = 0;
64-
}
65-
paddingTop = space;
66-
}
67-
}
68-
}
69-
}
70-
71-
document.getElementById("cargo-navigation").style.paddingBottom = paddingBottom + "px";
72-
document.getElementById("cargo-content").style.paddingBottom = paddingBottom + "px";
73-
document.getElementById("cargo-header").style.paddingTop = paddingTop + "px";
74-
document.getElementById("cargo-header-spacing").style.height = (83 + paddingTop) + "px";
75-
document.getElementById("cargo-header").style.position = headerPosition;
76-
}, 100);
7717
</script>
7818
</head>
7919
<body>

Diff for: cargo/Adding+a+Samples+Test.html

-60
Original file line numberDiff line numberDiff line change
@@ -14,66 +14,6 @@
1414
function gtag(){dataLayer.push(arguments);}
1515
gtag('js', new Date());
1616
gtag('config', 'G-MYCEY8S1MG');
17-
</script><!-- Google Ads -->
18-
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
19-
<script>
20-
(adsbygoogle = window.adsbygoogle || []).push({
21-
google_ad_client: "ca-pub-7996505557003356",
22-
enable_page_level_ads: true
23-
});
24-
25-
// Define dataLayer and the gtag function.
26-
window.dataLayer = window.dataLayer || [];
27-
function gtag(){dataLayer.push(arguments);}
28-
29-
// Set default consent to 'denied'
30-
gtag('consent', 'default', {
31-
'ad_storage': 'denied',
32-
'ad_user_data': 'denied',
33-
'ad_personalization': 'denied',
34-
'analytics_storage': 'denied'
35-
});
36-
</script>
37-
<script>
38-
// The way Google handles the element is that the height (with the ad) is fixed,
39-
// appearing and disappearing is handled by making the bottom or top style negative
40-
window.setInterval(function() {
41-
var paddingBottom = 0;
42-
var paddingTop = 0;
43-
var headerPosition = "fixed";
44-
var ins = document.getElementsByTagName("ins");
45-
for (i of ins) {
46-
if (
47-
i.className && i.className.indexOf("adsbygoogle") != -1 &&
48-
i.style && i.style.display == "block") {
49-
if (i.style.bottom) {
50-
var bottom = parseInt(i.style.bottom)
51-
if (!isNaN(bottom)) {
52-
var space = i.offsetHeight + bottom;
53-
if (space < 0) {
54-
space = 0;
55-
}
56-
paddingBottom = space;
57-
}
58-
} else if (i.style.top) {
59-
var top = parseInt(i.style.top)
60-
if (!isNaN(top)) {
61-
var space = i.offsetHeight + top;
62-
if (space < 0) {
63-
space = 0;
64-
}
65-
paddingTop = space;
66-
}
67-
}
68-
}
69-
}
70-
71-
document.getElementById("cargo-navigation").style.paddingBottom = paddingBottom + "px";
72-
document.getElementById("cargo-content").style.paddingBottom = paddingBottom + "px";
73-
document.getElementById("cargo-header").style.paddingTop = paddingTop + "px";
74-
document.getElementById("cargo-header-spacing").style.height = (83 + paddingTop) + "px";
75-
document.getElementById("cargo-header").style.position = headerPosition;
76-
}, 100);
7717
</script>
7818
</head>
7919
<body>

Diff for: cargo/Adding+a+container.html

-60
Original file line numberDiff line numberDiff line change
@@ -14,66 +14,6 @@
1414
function gtag(){dataLayer.push(arguments);}
1515
gtag('js', new Date());
1616
gtag('config', 'G-MYCEY8S1MG');
17-
</script><!-- Google Ads -->
18-
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
19-
<script>
20-
(adsbygoogle = window.adsbygoogle || []).push({
21-
google_ad_client: "ca-pub-7996505557003356",
22-
enable_page_level_ads: true
23-
});
24-
25-
// Define dataLayer and the gtag function.
26-
window.dataLayer = window.dataLayer || [];
27-
function gtag(){dataLayer.push(arguments);}
28-
29-
// Set default consent to 'denied'
30-
gtag('consent', 'default', {
31-
'ad_storage': 'denied',
32-
'ad_user_data': 'denied',
33-
'ad_personalization': 'denied',
34-
'analytics_storage': 'denied'
35-
});
36-
</script>
37-
<script>
38-
// The way Google handles the element is that the height (with the ad) is fixed,
39-
// appearing and disappearing is handled by making the bottom or top style negative
40-
window.setInterval(function() {
41-
var paddingBottom = 0;
42-
var paddingTop = 0;
43-
var headerPosition = "fixed";
44-
var ins = document.getElementsByTagName("ins");
45-
for (i of ins) {
46-
if (
47-
i.className && i.className.indexOf("adsbygoogle") != -1 &&
48-
i.style && i.style.display == "block") {
49-
if (i.style.bottom) {
50-
var bottom = parseInt(i.style.bottom)
51-
if (!isNaN(bottom)) {
52-
var space = i.offsetHeight + bottom;
53-
if (space < 0) {
54-
space = 0;
55-
}
56-
paddingBottom = space;
57-
}
58-
} else if (i.style.top) {
59-
var top = parseInt(i.style.top)
60-
if (!isNaN(top)) {
61-
var space = i.offsetHeight + top;
62-
if (space < 0) {
63-
space = 0;
64-
}
65-
paddingTop = space;
66-
}
67-
}
68-
}
69-
}
70-
71-
document.getElementById("cargo-navigation").style.paddingBottom = paddingBottom + "px";
72-
document.getElementById("cargo-content").style.paddingBottom = paddingBottom + "px";
73-
document.getElementById("cargo-header").style.paddingTop = paddingTop + "px";
74-
document.getElementById("cargo-header-spacing").style.height = (83 + paddingTop) + "px";
75-
document.getElementById("cargo-header").style.position = headerPosition;
76-
}, 100);
7717
</script>
7818
</head>
7919
<body>

Diff for: cargo/Announcing+Codehaus+Cargo+1.7.16.html

-60
Original file line numberDiff line numberDiff line change
@@ -14,66 +14,6 @@
1414
function gtag(){dataLayer.push(arguments);}
1515
gtag('js', new Date());
1616
gtag('config', 'G-MYCEY8S1MG');
17-
</script><!-- Google Ads -->
18-
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
19-
<script>
20-
(adsbygoogle = window.adsbygoogle || []).push({
21-
google_ad_client: "ca-pub-7996505557003356",
22-
enable_page_level_ads: true
23-
});
24-
25-
// Define dataLayer and the gtag function.
26-
window.dataLayer = window.dataLayer || [];
27-
function gtag(){dataLayer.push(arguments);}
28-
29-
// Set default consent to 'denied'
30-
gtag('consent', 'default', {
31-
'ad_storage': 'denied',
32-
'ad_user_data': 'denied',
33-
'ad_personalization': 'denied',
34-
'analytics_storage': 'denied'
35-
});
36-
</script>
37-
<script>
38-
// The way Google handles the element is that the height (with the ad) is fixed,
39-
// appearing and disappearing is handled by making the bottom or top style negative
40-
window.setInterval(function() {
41-
var paddingBottom = 0;
42-
var paddingTop = 0;
43-
var headerPosition = "fixed";
44-
var ins = document.getElementsByTagName("ins");
45-
for (i of ins) {
46-
if (
47-
i.className && i.className.indexOf("adsbygoogle") != -1 &&
48-
i.style && i.style.display == "block") {
49-
if (i.style.bottom) {
50-
var bottom = parseInt(i.style.bottom)
51-
if (!isNaN(bottom)) {
52-
var space = i.offsetHeight + bottom;
53-
if (space < 0) {
54-
space = 0;
55-
}
56-
paddingBottom = space;
57-
}
58-
} else if (i.style.top) {
59-
var top = parseInt(i.style.top)
60-
if (!isNaN(top)) {
61-
var space = i.offsetHeight + top;
62-
if (space < 0) {
63-
space = 0;
64-
}
65-
paddingTop = space;
66-
}
67-
}
68-
}
69-
}
70-
71-
document.getElementById("cargo-navigation").style.paddingBottom = paddingBottom + "px";
72-
document.getElementById("cargo-content").style.paddingBottom = paddingBottom + "px";
73-
document.getElementById("cargo-header").style.paddingTop = paddingTop + "px";
74-
document.getElementById("cargo-header-spacing").style.height = (83 + paddingTop) + "px";
75-
document.getElementById("cargo-header").style.position = headerPosition;
76-
}, 100);
7717
</script>
7818
</head>
7919
<body>

0 commit comments

Comments
 (0)