From 58de45d22865547fc412c557af5161c250ac60b9 Mon Sep 17 00:00:00 2001 From: ApocalypseCalculator Date: Sun, 23 Jun 2024 22:54:37 -0700 Subject: [PATCH] fix: reddit adblock --- injects/reddit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/injects/reddit.js b/injects/reddit.js index 5fd386b..afe4e47 100644 --- a/injects/reddit.js +++ b/injects/reddit.js @@ -3,7 +3,7 @@ console.log('[AnotherAdBlock]: Reddit script injected!'); try { const interval = setInterval(() => { // remove ads - let ads = document.querySelectorAll('shreddit-ad-post'); + let ads = document.querySelectorAll('shreddit-ad-post, shreddit-comments-page-ad, shreddit-sidebar-ad'); if(ads.length > 0) { ads.forEach(e => { e.remove();