Is it possible to force a JavaScript to run using code (c#) in Chrome Incognito?
Cause when I tried to run certain JS in normal Chrome, it works normally. But once I switch to Chrome Incognito, the JavaScript is no longer working.
*Note: I do not want to make changes to settings in Chrome
You can't control the browser from the server side, but you may do that in the client's side with the JavaScript function windows.create(), it accepts an optional incognito parameter, see MDN web docs.
Example:
windows.create({"url": url, "incognito": true});