Repository for the Leapp Cross-Browser Multi Console Extension
This extension lets you access different AWS Browser consoles from the same window on different tabs by isolating the Browser context.
-
npm run chrome-dev: build the extension and start a Chrome instance to test it. Openchrome://extensionsthen toggle developer mode slider, and click on background script to access the extension dev tools. -
npm run firefox-dev: build the extension and start a Firefox instance to test it. Openabout:addonsthen select extensions from the side menu, and click on the setting icon, select the debug addons option, and click on inspect.
npm run build-chrome/npm run build-firefox: bundle the extension for Chrome/Firefox using webpack without starting any Browser instance.npm run watch: watch extension code for any changes. Use it after runningchrome-devorfirefox-devto hot reload the extension while testing it.
asset: contains all the static assets for the extension (images, icons, fonts, etc.).config: contains webpack configurations.src:- backend : contains
backgroundandcontentscripts. - frontend : contains the
popuppage and all related content (.html, .js, and .css).
- backend : contains
manifest-chrome.json/manifest-firefox.json: entry point for the extension; contains metadata about the extension as well as configuration and permission properties. Link
- Install node and npm
- Run
npm install - Run
npm run build-firefoxornpm run build-chrome - The extension code should be inside the newly created
buildfolder - Otherwise, to test it locally, run
npm run firefox-devornpm run chrome-dev