forgot to add "ws://*/*"/"wss://*/*" to enable support for websocket type"

This commit is contained in:
gorhill 2017-03-06 17:34:46 -05:00
parent c271fbbd0d
commit 2213b005a0
2 changed files with 6 additions and 2 deletions

View File

@ -55,7 +55,9 @@
"webRequest",
"webRequestBlocking",
"http://*/*",
"https://*/*"
"https://*/*",
"ws://*/*",
"wss://*/*"
],
"short_name": "uBlock₀",
"storage": {

View File

@ -679,7 +679,9 @@ var headerIndexFromName = function(headerName, headers) {
vAPI.net.onBeforeRequest = {
urls: [
'http://*/*',
'https://*/*'
'https://*/*',
'ws://*/*',
'wss://*/*'
],
extra: [ 'blocking' ],
callback: onBeforeRequest