Catching onAuthRequired for a url starting with moz-proxy scheme

Hello,
I want to catch onAuthRequired (https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/onAuthRequired) for a 407 proxy authentication dialog. The problem is that the proxy url starts with “moz-proxy://” and I am unable to specify a valid wildcard for this (in the manifest.json aswell the js file itself).

Does anyone know if there is a way to come around this limitation? For any other URL this is working fine.

Thanks a lot! :slight_smile:

Sounds like this is either https://bugzilla.mozilla.org/show_bug.cgi?id=1401350 or https://bugzilla.mozilla.org/show_bug.cgi?id=1378459