Automatically closes tabs opened by AWS CLI login and AWS VPN. Available for Firefox and Chrome.
Forked from AWS-VPN-Tab-Closer.
Download from Firefox Add Ons Store or releases.
Download from Chrome Web Store or releases.
When you run aws sso login or connect to AWS VPN, a local browser tab opens. This extension detects the success page and closes it automatically.
Detected URLs:
http://127.0.0.1:*/oauth/callback*(AWS CLI)http://127.0.0.1:35001/*(AWS VPN)
- Node.js v22+
- Yarn v4.12.0+
# Install dependencies
yarn install
# Build browser-specific files from templates
yarn build
# Test Firefox
yarn test:firefox
# Test Chrome
yarn test:chrome
# Lint
yarn lint
# Package for release
yarn package
# Sign for firefox with
yarn build
source .env && yarn sign:firefox
config.json— Metadata, version, and permissions for both browserscommon/— Browser-agnostic source code (templates)build.sh— Generates Firefox/Chrome manifests and code from templatesfirefox/&chrome/— Auto-generated; don't edit directly
- Edit
common/*.js(source code) orconfig.json(metadata/version) - Run
yarn buildto regenerate browser-specific files - Test with
yarn test:firefoxoryarn test:chrome - Commit and create a GitHub release to trigger automated builds
- Update
versioninconfig.json - Commit:
git commit -am "Release v1.2.0" - Tag:
git tag v1.2.0 && git push origin v1.2.0 - Workflow auto-builds and uploads signed Firefox XPI + Chrome ZIP to release assets
To publish to stores manually:
No data collection. The extension only reads local page content to detect AWS success messages.
MIT