https://github.com/mehyaa/browser-extension-open-in-incognito
Open in Incognito helps you open active tab, a link or selection in incognito window.
https://github.com/mehyaa/browser-extension-open-in-incognito
Last synced: about 1 month ago
JSON representation
Open in Incognito helps you open active tab, a link or selection in incognito window.
- Host: GitHub
- URL: https://github.com/mehyaa/browser-extension-open-in-incognito
- Owner: mehyaa
- License: mit
- Created: 2021-04-15T11:52:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-11-25T11:59:57.000Z (7 months ago)
- Last Synced: 2025-12-26T22:52:34.921Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Open in Incognito
[](https://chromewebstore.google.com/detail/hgbdhkeihmnagnajcdompejmafifhkhc) [](https://addons.mozilla.org/en-US/firefox/addon/open-link-in-incognito)
Open in Incognito is a browser extension that allows you to quickly open the current tab, a link, or selected text in an incognito window.
## Installation
Download the extension or clone this repository, then follow the instructions below:
### Chrome / Edge / Opera / Brave
1. Copy the `manifest.chrome.json` file to `manifest.json`.
2. Open your browser's extensions page (e.g., `chrome://extensions/`).
3. Enable **Developer mode**.
4. Click **Load unpacked**.
5. Select the directory containing the extension files.
### Firefox
1. Copy the `manifest.firefox.json` file to `manifest.json`.
2. Open `about:debugging`.
3. Click **This Firefox**.
4. Click **Load Temporary Add-on...**.
5. Select the `manifest.json` file.
## Building
To create zip files for Chrome and Firefox:
1. Run the `build.sh` script (requires a bash environment like Git Bash or WSL on Windows):
```bash
chmod +x build.sh
./build.sh
```
2. This will create a `dist` directory containing:
- `extension-chrome.zip`
- `extension-firefox.zip`
## Permissions
This extension requires the following permissions:
- `contextMenus`: To add items to the right-click menu.
- `tabs`: To access the current tab's URL.
## Usage
### Toolbar Icon
Click the extension icon in the toolbar to open the current page in an incognito window.
### Context Menu
Right-click on a **page** to open it in incognito.
Right-click on a **link** to open it in incognito.
Right-click on **selected text**:
- If it's a URL, it opens in incognito.
- If it's not a URL, it performs a Google search for the text in incognito.
### Keyboard Shortcut
Press `Ctrl+Shift+I` (or `Command+Shift+I` on Mac) to open the current tab in incognito.
## License
[MIT](LICENSE)