PD
🧩 Plasmo Developersfrostman
How can i show an welcome page when users install my extension?
I attempted to implement the example found at PlasmoHQ's GitHub repository (https://github.com/PlasmoHQ/examples/tree/main/with-newtab) and followed the setup instructions detailed on the Plasmo framework documentation (https://docs.plasmo.com/framework/ext-pages). Although I can navigate to the page via chrome-extension://<extension-id>/tabs/test.html, the tab page does not automatically launch upon installation. Could you provide guidance on resolving this issue?
GitHub
examples/with-newtab at main · PlasmoHQ/examples
🔰 Example projects that demonstrate how to use the Plasmo Framework and integrate with popular tools - PlasmoHQ/examples
Arcane•91d ago
@frostman0081 has reached level 1. GG!
frostman•91d ago
I was able to do it via the BG script like this:
chrome.runtime.onInstalled.addListener(function (details) {
console.log("onInstalled", details);
if (details.reason == "install") {
let url = chrome.runtime.getURL("tabs/index.html");
chrome.tabs.create({ url: url });
}
});
2.1KMembers
View on DiscordWant results from more Discord servers?
More PostsMessaging best practicesDo you recommend using Plasmo Messaging API instead of Chrome Messaging API ?
Is a combination of bproblem in staging and production modesHello everyone, I'm working on an extension and encountering an issue when building the extension inhow to change inlineInsertPosition?There is no example in docs, and this feature was added on Nov 9, 2023. Please helpIs there a way to build a webapp or electron app based on a Plasmo project?Hello
We're building a browser extension, but for the sake of testing we may just test the web-app How to make absolute button CSUIHey, a newbie here trying to create a button that appears on certain pages, always on the bottom rigFramework-UnderstandingHi, I am building an chrome extension for recording sreen and webcam simultaneously using plasmo. I