From fb7eee340c57934ab33f2a348a65ea75594f7cce Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Wed, 23 Feb 2022 08:00:24 +1100 Subject: [PATCH] Fix innerText bug --- src/drivers/webextension/js/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/webextension/js/content.js b/src/drivers/webextension/js/content.js index 57c4f7c26..44511e07d 100644 --- a/src/drivers/webextension/js/content.js +++ b/src/drivers/webextension/js/content.js @@ -83,7 +83,7 @@ async function getDom(technologies) { if (text) { // eslint-disable-next-line unicorn/prefer-text-content - const value = node.innerText.trim() + const value = node.innerText ? node.innerText.trim() : '' if (value) { technologies.push({