diff --git a/src/drivers/webextension/js/driver.js b/src/drivers/webextension/js/driver.js
index <HASH>..<HASH> 100644
--- a/src/drivers/webextension/js/driver.js
+++ b/src/drivers/webextension/js/driver.js
@@ -408,7 +408,7 @@ const Driver = {
         xhrDebounce.splice(xhrDebounce.indexOf(hostname), 1)
 
         Driver.onDetect(
-          request.originUrl,
+          request.originUrl || request.initiator,
           await analyze({ xhr: hostname })
         ).catch(Driver.error)
       }, 1000)
Fix for XHR detection in WebExtension