Skip to content

Commit 2b8b816

Browse files
authored
Revert "Resolve cookieyes issue" (#1544)
Reverts #1529
1 parent fa86148 commit 2b8b816

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

reference/python/mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ plugins:
189189
# https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.assets_exclude
190190
# Disable downloading of external assets for specific origins
191191
- img.shields.io/*
192-
- cdn-cookieyes.com/*
193192
links_attr_map:
194193
# https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.links_attr_map
195194
# Open all external links in a new tab

reference/python/overrides/main.html

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,16 @@
1111
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
1212
})(window, document, 'script', 'dataLayer', 'GTM-MBBX68ST');</script>
1313
<!-- End Google Tag Manager -->
14+
<!-- Start cookieyes banner -->
15+
<script id="cookieyes" type="text/javascript" src="https://cdn-cookieyes.com/client_data/d2e859934c4309be824ea8bb/script.js"></script>
16+
<!-- End cookieyes banner -->
1417
{% endblock %}
1518

1619
{# {% block announce %}
1720
x
1821
{% endblock %} #}
1922

2023
{% block extrahead %}
21-
<!-- Start cookieyes banner -->
22-
<script>
23-
(function() {
24-
var script = document.createElement('script');
25-
script.id = 'cookieyes';
26-
script.type = 'text/javascript';
27-
script.src = 'https://cdn-cookieyes.com/client_data/d2e859934c4309be824ea8bb/script.js';
28-
document.head.appendChild(script);
29-
})();
30-
</script>
31-
<!-- End cookieyes banner -->
3224
<style>
3325
@import url("https://fonts.googleapis.com/css2?family=Public+Sans&display=swap");
3426
:root {

0 commit comments

Comments
 (0)