Skip to content

Commit

Permalink
feat: remove disqus ads
Browse files Browse the repository at this point in the history
  • Loading branch information
einverne committed Oct 6, 2024
1 parent 17bc8e4 commit 1a661ff
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions _includes/themes/evjekylltheme/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,18 @@
gtag('js', new Date());
gtag('config', 'G-5FCF34H16J');
</script>
<script>
(function($){
setInterval(() => {
$.each($('iframe'), (arr,x) => {
let src = $(x).attr('src');
if (src === undefined) {
$(x).remove();
}
});
}, 300);
})(jQuery);
</script>
</head>

<body>
Expand Down

0 comments on commit 1a661ff

Please sign in to comment.