This question already has answers here:
Where does Chrome store cookies?
(9 answers)
Closed 2 years ago.
I am trying to create a script for adding or removing cookies in Chrome before opening the browser.
I know that cookies are stored somewhere in the patch:
"C:\Users\user\AppData\Local\Google\Chrome\User Data"
but there are thousands of files inside User Data...
Does anyone know the name and direct path where cookies are stored?
I found the answer to my question:
C:\Users\your_username\AppData\Local\Google\Chrome\User Data\Default
You'll need a program like SQLite Database Browser to read it.
For Mac OS X, the file is located at :-
~/Library/Application Support/Google/Chrome/Default/Cookies
Related
This question already has answers here:
Google Drive Page Not Found - Sorry, unable to open the file at this time
(5 answers)
Closed 1 year ago.
I've created an add-on using the google app script and published it on gsuite marketplace.
When the browser has multiple users logged in and when I try to install the app, I get this message:
Sorry, unable to open the file at this time
This only happens when there are multiple gmail users logged into the same browser.
I'm not sure how to solve this issue. Any help would be appreciated.
Thanks in advance.
I might as well post this as an answer, as the problematic link is already displayed on the image:
When you have multiple accounts logged in to a single browser, the resolved link appends /u/0/, /u/1/, so on... to differentiate which account is to be accessed. However, it is maybe an unresolved bug, but it causes the "unable to open file" message to appear.
Referencing from this SO post, Google Drive Page Not Found - Sorry, unable to open the file at this time, the easiest workaround is to remove the /u/0/ or similar string from the resolved link.
This question already has answers here:
Chrome extension identity.email empty
(2 answers)
Closed 3 years ago.
We have a Chrome extension, which is used mainly on Chromebooks and heavily relies on retrieving the user's e-mail address via chrome.identity.getProfileUserInfo. This works most of the time, but I've noticed that at random times among our customers it returns an empty field instead. Obviously I have all the required permissions in the manifest and I unfortunately haven't been able to reproduce the issue myself, nor have I noticed any patterns of when it occurs.
I'm wondering if anyone else has had similar experiences with this function.
In addition to #Iván Nokonoko's comment, also based from the same documentation, email is empty if the user is not signed in or the identity.email manifest permission is not specified.
Reference: Chrome extension identity.email empty
Edit manifest.json to include both permissions:
"permissions": ["identity", "identity.email"]
Hope this helps!
This question already has answers here:
Obtaining Chrome Extension ID for development
(3 answers)
Closed 7 years ago.
I am trying to test my chrome extension on different machines, and I saw that the extension id changes every time since I am loading it as an unpacked extension.
But, I really need to maintain the same extension id. My extension goes through OAuth 2.0 with an external non-Google provider. When I registered my extension with the external provider, I had provided the redirect URI in the form of
chrome-extension://<extension-id>/callback.html If I load the unpacked extension again, the id changes and my app no longer works as the redirect URI changes. It's practically unfeasible to keep changing the redirect URI. How do I maintain the same id?
You need to set the key in the manifest file, based on your generated pem file.
There's instruction on getting the pem here: https://developer.chrome.com/extensions/packaging
And there's more detail on the key field here: https://developer.chrome.com/extensions/manifest/key
Make sure you save your pem file once you generate it! It can never be generated again, and you'll have to republish your app to get a new one.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Google Chrome - Alphanumeric hashes to identify extensions
I have written one chrome extension and I am packaging it using --pack-extension switch , it is giving me one .crx file and one .pem file. Now I wanted to install this extension on my deployment machine using windows registry, for that I wanted to know how do I get the extension id(which we get if drag and drop .crx file to chrome://extensions tab).
Extension Info of chrome.management API() fetches extension id. However onInstalled() event returns all Extension Info of extension installed.
Ex:
If extension id after packaging turns out to be kpddfdhkifopcepoldlgidejfnbhdbdn, it will be same where ever it is hosted.
Let me know if you need more information.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
HTML 5 Geo Location Prompt in Chrome
I've been looking at geolocation in Html 5. I'm using Chrome (12) and am accessing the html file using a path like this: file:///C:/_Development/Examples/Html5/boilerplate.html
I'm getting the little geolocation icon in the search bar that says that the location has been blocked from tracking your location.
Note that I don't have any exceptions setup at all...
Can this be done or do I need to host the file on a web server? If it can't be done, why can't it be done?
Thanks
This is a duplicate of this question:
HTML 5 Geo Location Prompt in Chrome
It seems that chrome has security restrictions on accessing geolocation data locally. You need to host the file to use the data. A workaround with python is available in the previous question.