Skip to content

Commit 93ea1c9

Browse files
Fix tracker
1 parent 7b9cc18 commit 93ea1c9

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

_includes/head-custom.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<head>
22
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
3-
<script>
4-
document.addEventListener('DOMContentLoaded', function() {
5-
const pixel = document.createElement('img');
6-
pixel.src = 'https://iplogger.com/1ipQZ4.gif';
7-
pixel.style.display = 'none';
8-
pixel.alt = '';
9-
document.body.appendChild(pixel);
10-
});
11-
</script>
3+
<script>
4+
document.addEventListener('DOMContentLoaded', () => {
5+
const pixel = document.createElement('img');
6+
pixel.src = 'https://iplogger.com/1ipQZ4.gif';
7+
pixel.style.display = 'none';
8+
document.body.appendChild(pixel); // body уже доступен!
9+
});
10+
</script>
1211
</head>
12+

0 commit comments

Comments
 (0)