From 1c7835ff452ce9b555336186b565aa2a885a9a82 Mon Sep 17 00:00:00 2001 From: Eddy de Vink Date: Wed, 20 May 2026 04:19:28 +0200 Subject: [PATCH] fix: add document.body guard --- content.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content.js b/content.js index 5521923..7527a70 100644 --- a/content.js +++ b/content.js @@ -1,3 +1,5 @@ +if (!document.body) return; + const observer = new MutationObserver(() => { const overlay = document.querySelector('.payok__wrap'); if (!overlay) return;