12/8/2023 0 Comments Adblock google chrome extensionMy website doesn't use ads, so I don't care if users have AdBlock on or off, and asking users to disable AdBlock might be annoying for them and bad for UX. When AdBlock is disabled, everything works fine: Request is sent to my server and incoming messages are received on the browser.Īlso, when I try sending request directly to my app and bypassing nginx proxy like this: ws://everything works fine with AdBlock enabled. So my server doesn't even receive Upgrade request and browser logs WebSocket connection to 'wss://mydomain.site/something' failed. When I try to run the code in my browser with AdBlock chrome extension enabled, it thinks that my request to websocket is an ad and blocks it. Now I'm writing Angular front-end application that connects to my server like this: return webSocket(, () => true) Everything is secured by a valid SSL certificate, so requests are made through and wss://. I also have nginx server running on same machine, listening to 443 port and redirecting requests to my application ( ). In Googles case, Manifest V3 was clearly intended to limit content blockers. Manifest files define the capabilities of browser extensions, and any changes made to them can make or break extensions. It receives websocket connections and sends some simple messages to clients. Google published an early draft of Manifest V3 for Chrome extensions in January 2019. I Have a simple back-end app on a Google cloud virtual machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |