You can create a custom Chrome extension and install it on the virtual browser.To load your extension in Hyperbeam, create an unpacked zip or crx file. Then, make a request and upload the file using a multipart form. For a full example, check out our Chrome extension example.
curl -X POST \ -H 'Authorization: Bearer <your-api-key>' \ -H 'Content-Type: multipart/form-data' \ https://engine.hyperbeam.com/v0/vm \ --form 'body={"extension":{"field":"ex"}}' \ --form 'ex=@/tmp/ext.zip;type=application/zip' # If using crx rather than zip, make sure to change the MIME-type to x-chrome-extension # --form 'ex=@/tmp/ext.crx;type=application/x-chrome-extension'
Hyperbeam supports both Manifest V2 and V3. Manifest V2 is deprecated, and we anticipate Chromium will no longer support V2 in 2025. You can learn more about the MV2 phase-out plan on the Developer Chrome website.If backwards compatibility is a requirement for your project, please contact us at founders@hyperbeam.com.