Chrome extensions with the tabs
permission can use the chrome.windows.create
method:
chrome.windows.create({"url": url, "incognito": true});
However, to access it, you’ll either need to write your own extension or find an existing one which provides a suitable hook (I don’t know whether this can be done with “Mouse Stroke”—I’m too scared to look).
Related Contents:
- Use a content script to access the page context variables and functions
- Enter data into a custom-handled input field
- “Cannot read property of undefined” when using chrome.tabs or other chrome API in content script
- Persistent Service Worker in Chrome Extension
- Check whether user has a Chrome extension installed
- Pass a parameter to a content script injected using chrome.tabs.executeScript()
- Sending message from a background script to a content script, then to a injected script
- Can I programmatically open the devtools from a Google Chrome extension?
- Inspect extension’s chrome.storage in devtools
- chrome extension – sendResponse not waiting for async function [duplicate]
- Communicate between scripts in the background context (background script, browser action, page action, options page, etc.)
- Chrome extension: How to save a file on disk
- How do I auto-reload a Chrome extension I’m developing?
- Copy to Clipboard in Chrome Extension
- Injecting JS functions into the page from a Greasemonkey script on Chrome
- Chrome Extension: Get Page Variables in Content Script
- Reading response headers with Fetch API
- Inject CSS stylesheet as string using Javascript
- Can a site invoke a browser extension?
- Unchecked runtime.lastError while running tabs.executeScript?
- Dynamic extension context menu that depends on selected text
- How to handle “Unchecked runtime.lastError: The message port closed before a response was received”?
- Why is document.execCommand(“paste”) not working in Google Chrome?
- UserScripts & Greasemonkey: calling a website’s JavaScript functions
- How can I save information locally in my chrome extension?
- saving and retrieving from chrome.storage.sync
- Check if user has a third party Chrome extension installed
- Event onBrowserClose for Google Chrome Extension?
- Chrome Extension – Passing object from page to context script
- Console shows error about Content Security policy and lots of failed GET requests
- Chrome New Tab Page extension steal focus from the address bar
- Cannot read property ‘onClicked’ of undefined when using chrome.action or chrome.browserAction
- How to get the currently opened tab’s URL in my page action popup?
- Chrome Extension: How do I inject a script that the user provided?
- popup window in Chrome extension
- Loading external javascript in google chrome extension
- Deleting DOM elements before the Page is displayed to the screen (in a Chrome extension)
- google chrome extension :: console.log() from background page?
- Devtools doesn’t show console or requests for extension popup? [duplicate]
- Is there a flexible way to modify the contents of an editable element?
- How to properly handle chrome extension updates from content scripts
- Published extension doesn’t work with chrome API listeners inside onInstalled
- How do I use WebStorm for Chrome Extension Development?
- Modify HTML of loaded pages using chrome extensions
- How to inject CSS using content script file in Chrome extension?
- How do I redirect to a URL using a Google Chrome Extension & Content Script?
- Can I prevent an alert() with a Google Chrome Extension
- Update object stored in chrome extension’s local storage
- Chrome Extension “Refused to load the script because it violates the following Content Security Policy directive”
- Javascript: Let user select an HTML element like Firebug?