mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-02-02 02:58:13 -05:00
Ignore 127.0.0.1 in web request monitor. Fix #474.
This commit is contained in:
parent
55fba179f0
commit
622fd2a4d4
@ -89,6 +89,8 @@ module.exports = class WebRequestMonitor
|
||||
return if req.error.indexOf('net::ERR_FILE_') == 0
|
||||
return if req.url.indexOf('file:') == 0
|
||||
return if req.url.indexOf('chrome') == 0
|
||||
# Some ad-blocking extensions may redirect requests to 127.0.0.1.
|
||||
return if req.url.indexOf('://127.0.0.1') > 0
|
||||
return unless reqInfo
|
||||
if req.error == 'net::ERR_ABORTED'
|
||||
if reqInfo.timeoutCalled and not reqInfo.noTimeout
|
||||
|
Loading…
Reference in New Issue
Block a user