Friday, January 12, 2018

Incognito Chrome processes can be recognized by command line

One user wanted to write a script that terminates processes associated with incognito Chrome tabs. It isn't straightforward to determine which process belongs to which tab using only process information, but I did notice something that distinguishes incognito tabs from normal tabs. Incognito processes (those that manage an incognito tab or an incognito instance of an extension) have --disable-databases in their command line while normal Chrome processes do not.

No comments:

Post a Comment