Where in Chrome folder browser save hsts cookies? - google-chrome

I need to find file, where chrome write HSTS cookies. What is the path?
I tried to find in C:\Users<your_username>\AppData\Local\Google\Chrome\User Data\Default\ into file Cookies, but found nothing.
Where I can find file with HSTS Cookies?

ok, I think that I find - hsts cookies stored in Default folder in file - TransportSecurity

Related

how can i import Cookie file in Chrome98?

In the old version, i can replace the Cookies file under
AppData\Local\Google\Chrome\User Data\Default to another computer
and i can use cookie from the file. But when I try this on chrome 98.
I can't migrate the cookie data. And I found that the Cookies file was put under the network folder.

Where are the cookies stored in Chrome? (the file)

I mean, i know the file is in "C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default" or "C:\Users\%USERNAME%\Local Settings\Application Data\Google\Chrome\User Data\Default" and it's a "Cookies" named SQL file. But if I delete this file from my computer the cookies will not disappear from the browser. I want to manually delete this, not from Chrome's settings. Please, help me find the correct files and path.

Manifest Issue in Chrome Store

I've been working on a chrome extension for several weeks now and just recently uploaded my extension to the chrome web store.
When I try to install it from the store, it gives me an error saying "Invalid Manifest" and nothing more.
Is there a way to figure out what is wrong with my manifest file that the chrome store doesn't like? My browser installs the extension fine (and it works) when I load it in via developer mode.
Since I can't copy it to the code tag and it preview well, I've linked the Manifest file below: Manifest file on Github
I've read the manifest v2 documentation and have looked on several google groups for assistance. Any help is greatly appreciated, thanks!
Turns out "Tabs" can not go under permissions, it MUST be an optional permission. AND you must encode the manifest file as UTF-8 rather than ANSI.

Deleting Chrome HSTS for facebook.com not working

I am currently doing some debugging on my website which involves calling the facebook API.
I've installed dnsmasq to work with my mac os X to redirect all request to facebook.com to 127.0.0.1
I have a echo server which will print out all the raw http request header on port 80 on my laptop.
Now comes my problem. When I access facebook.com, I realize chrome will automatically forward http:// to https:// for facebook.com
I googled and found the way of deleting this HSTS issue. I visit chrome://net-internals#hsts to see something like this:
HSTS chrome image
After entering "facebook.com" under "Delete domain", I can still query "facebook.com" in the input box below.
I tried clearing all user data on chrome, closing and reopening chrome and even using incognito mode.
Why is chrome still redirecting all request to facebook.com to https?
How can I disable this if chrome://net-internals#hsts is not
reliable?
The text next to the Delete domain box on chrome://net-internals/#hsts clearly states that preloaded entries cannot be deleted. This feature request was closed as WontFix in the Chrome bug tracker.
facebook.com and quite a few of its subdomains are included in Chrome's preload list.
You could use another domain name for your tests.
Just make api-calls to facebook-api-test.com, map that domain to localhost and proxy the calls.

Extension installed from Chrome Webstore throws error "Package is invalid. Details: 'Cannot load extension with file or directory name _metadata...'

When a CRX is added to the Chrome web store, Google adds a directory _metadata to the crx. Older versions of Chrome do not know about this directory (tested on Chrome 27) and throw this error:
Package is invalid. Details: 'Cannot load extension with file or directory name
_metadata. Filenames starting with "_" are reserved for use by the system.'.
You can see this error if you try to install this extension on an older version of Chrome: https://chrome.google.com/webstore/detail/allcast-receiver/hjbljnpdahefgnopeohlaeohgkiidnoe
A good explanation: https://groups.google.com/a/chromium.org/d/msg/chromium-apps/huDqSeaQx3Q/Z5GOMxA7lQIJ
Is there a workaround for this? This makes it impossible to support older versions of Chrome.
You can try to unzip the CRX (change the suffix name to ".zip" if needed) and then in chrome: Settings -> Extensions check "Developer mode", choose "load unpacked extension.." and select the extracted folder.
P.S.
I had to rename the folders starting with "_" (underscore) and remove the line
"default_locale":"en",
from the manifest JSON in order for that to work
You -as an extension developer- cannot work-around this bug, because the directory is added by the Chrome Web Store (CWS). You could work-around the bug by not using the CWS to distribute the extension, but then the extension cannot be used by the majority of Chrome users, because Google has actively tried to stop users from getting extensions from outside the CWS.
The CWS team are the only ones who can fix the bug. They should serve crx files without a _metadata directory if the user agent does not support the directory (Chrome 30-). This bug is being tracked on https://code.google.com/p/chromium/issues/detail?id=377278. So far, the response is:
We can't fix old versions of Chrome. Webstore side tracked at b/15176392, but extending support back to Chrome 30 is unlikely.
Star the issue to get notified of updates and to signal that you really want the bug to be fixed. If enough users/developers complain, then Google might fix the bug.
This answer applies to CRX files that you:
Downloaded from Chrome Web Store
Are trying to load unpacked
_locales folder should not pose problems. As long as the manifest contains default_locale key, Chrome will load the unpacked extension as expected.
_metadata is the problematic folder. It contains cryptographic hashes of all extension files to protect against tampering with those files, and is automatically added by CWS. This does not make sense in the context of an unpacked extension, and has no other use, so this folder simply needs to be deleted.
Some people found resetting works. Some found emptying the recycle bin works. None worked for me. I re-installed chrome also didn't work.
Instead this worked for me (same as what Xan said): I download the .crx file, unzip it, erase the folder
_metadata
Then install it manually. This worked for me.