Content script is JS & CSS code that you inject into the web page. In this case, the content script will be injected as a sidebar.
Here's an example:
Meta Explorerarrow-up-right is a content script sidebar extension.
Create a new directory, cd into it and then run the below command.
You will have 2 directories after you run the above command extension and cs-root.
extension
cs-root
cs-root directory has the react code that will be injected as content script into the web page.
Click on the extension icon to open the sidebar.
Last updated 1 year ago
npx ChromeKit-Org/cli init content-script-sidebar
cd cs-root npm run watch