To clear cookies from Google Chrome, you can do it manually through Chrome’s settings or by using commands in PowerShell or Command Prompt. Here’s how:
Manual Method:
- Open Google Chrome.
- Click on the three-dot menu icon in the top right corner.
- Go to “Settings” > “Privacy and security” > “Clear browsing data”.
- In the “Basic” tab, make sure “Cookies and other site data” is selected.
- Click on “Clear data”.
Using Command Prompt:
- You can clear cookies using the command-line utility
chrome://settings/clearBrowserDatafollowed by parameters specifying what data to clear. - Open Command Prompt (
cmd) & use the following commands:
start chrome://settings/clearBrowserData?url=https://google.com&referrer=&from=settings&cx=0
- This command will open Chrome settings directly to the Clear browsing data page. You can adjust parameters like the URL and referrer as needed.
Using PowerShell:
- Open PowerShell as an administrator & use the following command:
Start-Process "chrome.exe" -ArgumentList "chrome://settings/clearBrowserData?url=https://google.com&referrer=&from=settings&cx=0"
- This command will have the same effect as the Command Prompt command, opening Chrome settings directly to the Clear browsing data page.
Choose the method that suits your preference. The manual method gives you more control over what data to clear, while the command-line methods offer convenience, especially for automation or scripting purposes.