Pages
Get started with your extension's pages.
Extension pages are built-in pages recognized by the browser. They include the extension's popup, options, sidepanel and newtab pages.
Sometimes when you create a new browser extension page, Plasmo runtime might not be listening and might not update in certain cases. To fix this, just refresh your extension manually.
Popup
The popup page is a small dialog window that opens when a user clicks on the extension's icon in the browser toolbar. It is the most common type of extension page.
Options
The options page is meant to be a dedicated place for the extension's settings and configuration.
Give users options
developer.chrome.com
Devtools
The devtools page is a custom page (including panels) that opens when a user opens the extension's devtools panel.
Extend devtools
developer.chrome.com
New tab
The new tab page is a custom page that opens when a user opens a new tab in the browser.
Override Chrome pages
developer.chrome.com
Side panel
The side panel is a custom page that opens when a user clicks on the extension's icon in the browser toolbar.
Side panel
developer.chrome.com
Tabs
Tab pages is a feature unique to the Plasmo framework. Unlike traditional extension pages, tab pages are just regular web pages shipped with your extension bundle. Extensions generally redirect to or open these pages programmatically, but you can link to them as well.
They could be useful for following cases:
- when you want to show a some page when user first installs your extension
- when you want to have dedicated pages for authentication
- when you need more advanced routing setup
Your tab page will be available under the /tabs
path in the extension bundle. It will be accessible from the browser under the URL:
Tab Pages
docs.plasmo.com
Last updated on