diff --git a/src/drivers/webextension/js/driver.js b/src/drivers/webextension/js/driver.js index 5bbfaeac0..2ece03254 100644 --- a/src/drivers/webextension/js/driver.js +++ b/src/drivers/webextension/js/driver.js @@ -267,13 +267,7 @@ const Driver = { ) }) - if ( - headers['content-type'] && - (/\/x?html/.test(headers['content-type'][0]) || - /\/plain/.test(headers['content-type'][0])) - ) { - await Driver.onDetect(request.url, analyze({ headers })) - } + await Driver.onDetect(request.url, analyze({ headers })) } } catch (error) { Driver.error(error)