Hi,
I have created an app and converted that app to extension by providing the bubble site in the chrome extension code. So, basically , I have a bubble app running inside the chrome extension.
To open a new tab from extension, I am using the below code:’
document.getElementById(“openTab”).addEventListener(“click”, () => {
chrome.tabs.create({ url: “https://www.google.com” });
});
I works when the JS code is in the vs code (extension) but do not works when I use this js inside bubble workfliow. Basically it says cannot find chrome.
Any workaround without using any plugin except of JS plugin?
Thanks and Regards!