From 54af35299dd73b14401b596f93e4fa2509bb8704 Mon Sep 17 00:00:00 2001 From: lolcat Date: Mon, 3 Aug 2026 15:59:59 -0400 Subject: [PATCH] fix errors not being reported using http proxies --- ext/bg.js | 11 ++--------- ext/manifest.json | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/ext/bg.js b/ext/bg.js index c345d96..2efea21 100644 --- a/ext/bg.js +++ b/ext/bg.js @@ -700,16 +700,9 @@ browser.webRequest.onErrorOccurred.addListener( if(global_ws === null){ return; } - var pending_req = webreq_completed.get(page.requestId); - - if( - // we're not watching that req - !pending_req || - // some bullshit happened - pending_req.success === false - ){ + if(!web_response_whitelist.includes(page.type)){ - webreq_completed.delete(details.requestId); + webreq_completed.delete(page.requestId); return; } diff --git a/ext/manifest.json b/ext/manifest.json index f75b662..30d680f 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "4play", - "version": "1.2", + "version": "1.8", "description": "4play & dominate", "icons": { "32": "icon.png"