diff --git a/src/index.js b/src/index.js index a095edd..6ce341f 100644 --- a/src/index.js +++ b/src/index.js @@ -6,7 +6,7 @@ export default { return dummyEl } - const botRegex = regex || /bot|googlebot|crawler|spider|robot|crawling/i + const botRegex = regex || /bot|googlebot|crawler|spider|robot|crawling|Chrome-Lighthouse/i const isBot = navigator.userAgent && botRegex.test(navigator.userAgent) const shouldShow = invert ? isBot : !isBot