A robot at a computer

Chrome Manifest Version 3 with Websocket Server

I have been working on a chrome extension for a year. If you don’t know anything about chrome extensions or google platforms they are incredibly locked down, and have much fewer open features than are naturally available running code on your own computer. To be able to do certain advanced things from a chrome extension it is easier to send requests to a server that can do what you want. Google however has been pushing for security enhancements that make coding useful features in Chrome extensions even more difficult. When I began programming my chrome extension Manifest Version 2 was still useable, however since then all the old examples have been made obsolete, and the documentation is outdated for the new Manifest Version 3 framework. I spent a couple months asking in forums and searching for examples for making a chrome extension websocket client that could work with a websocket server and I couldn’t find an example anywhere. I eventually found some little bits of code on places like stackoverflow.com that I was eventually able to get working. I put this together as a working example of both a client and server with instructions on my Github.com

If you want to check out my other programming projects check here

https://github.com/WyattSanders/ChromeMV3WebsocketExample

en_USEnglish