I want to open a new URL in Incognito/ Private window when someone clicks on a particular link.
Is it possible through javascript?
Check below
chrome.windows.create({"url": url, "incognito": true});
Solution won't work in a web page, as the windows object is not available there. It may only work for browser extensions.
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/windows/create#Browser_compatibility
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With