C
C
CrewCut2016-03-29 03:34:50
JavaScript
CrewCut, 2016-03-29 03:34:50

Is it possible with js to open an incognito tab in chrome?

Is it possible to open on click a link in incognito mode using javascript in Google Chrome? If js is not possible, then how is it possible (not counting the manual way :) )?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Super User, 2016-03-29
@sergeystepanov1988

You can write the extension . It will look something like this:

chrome.windows.create({"url": url, "incognito": true});

A
Alexey Skobkin, 2016-03-29
@skobkin

Through JS from a web page - it is impossible. You can - using the Chrome command line options, for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question