hjk789 / NXEnhanced

Adds "quality-of-life" features to NextDNS website for a more practical usability
329 stars 20 forks source link

Access to NextDNS API from the extension is getting blocked in Kiwi Browser, but the userscript works fine #30

Closed hjk789 closed 3 years ago

hjk789 commented 3 years ago

For some reason, any access to the API from the extension is getting blocked in Kiwi browser on Android. However, it's not blocked when it's accessed from the userscript . It's needed to investigate why this is happening and how to solve this.

hjk789 commented 3 years ago

Ok, after some hours trying to know what was happening, I finally find out why. This is happening because Kiwi blocks every connection to domains not included in the manifest. Including api.nextdns.io/* fixes this. Someone on Reddit pointed out that the extension doesn't include the api.nextdns.io, while the userscript does include it, but because the desktop browsers don't care about that and accept the connections fine, I thought this wasn't a problem in Kiwi. Releasing the fix.