diff --git a/content/install-hook-usercss.js b/content/install-hook-usercss.js index c88c13ea..c308f2f3 100644 --- a/content/install-hook-usercss.js +++ b/content/install-hook-usercss.js @@ -72,7 +72,7 @@ function getChromeVersion() { const match = navigator.userAgent.match(/chrome\/(\d+)/i); - return match && Number(match[1]); + return match ? Number(match[1]) : undefined; } function start() {