From a0c9005d691774e534071fde9ce8f971fb8303fc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 2 Apr 2022 13:08:54 +0530 Subject: [PATCH] Also ignore domready for about: urls --- resources/scraper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/scraper.js b/resources/scraper.js index 0c260b04c8..4637f45521 100644 --- a/resources/scraper.js +++ b/resources/scraper.js @@ -21,7 +21,7 @@ send_msg({type: 'print', text: text}); } - if (!document.location.href.startsWith('chrome-error://')) { + if (!document.location.href.startsWith('chrome-error:') && !document.location.href.startsWith('about:')) { send_msg({type: 'domready', html: new XMLSerializer().serializeToString(document)}); } })();