Where does Chrome store cookies?

The answer is due to the fact that Google Chrome uses an SQLite file to save cookies. It resides under: C:\Users\<your_username>\AppData\Local\Google\Chrome\User Data\Default\ inside Cookies file. (which is an SQLite database file) So it’s not a file stored on hard drive but a row in an SQLite database file which can be read by a third … Read more

Making HTTP Requests using Chrome Developer tools

Since the Fetch API is supported by Chrome (and most other browsers), it is now quite easy to make HTTP requests from the devtools console. To GET a JSON file for instance: fetch(‘https://jsonplaceholder.typicode.com/posts/1’) .then(res => res.json()) .then(console.log) Or to POST a new resource: fetch(‘https://jsonplaceholder.typicode.com/posts’, { method: ‘POST’, body: JSON.stringify({ title: ‘foo’, body: ‘bar’, userId: 1 … Read more

How can I enable my chrome extension in incognito mode?

It’s not possible to automatically activate incognito mode for Chrome extensions. Instead of letting the user figure out where the option can be found, just instruct the user to put a check on the checkbox at the extension. To detect whether incognito is enabled, use the chrome.extension.isAllowedIncognitoAccess method. After showing the instructons to the user, … Read more