How to extract bookmarks from Chrome user data snapshots file? - google-chrome

As I deleted my google account recently I lost all my bookmarks . unfortunatle because I close and opened chrome reveral times I found nothing in the bookmarks and bookmarks.bak files . Additionally when I try to view previous versions of my folders and files under chrome folder ,there are no previous versions or dates to restore to !
My lats option is to extract the bookmarks data from the snapshots files stored by chrome , but I don't know how they work or how to find my lost bookmarks through them !
Your kind assistance will be highly appreciated as these bookmarks are very important for my ongoing work and study .
Thanks

Related

Restore previous version of Google Doc

This morning, I was writing in a Google doc of some notes that are very important to our business. Something was wrong with my keyboard, it was emitting wrong characters, and it must have selected and erased everything, I guess. When I came back this afternoon, the doc was there, but empty.
I open the doc now, and ^Z or Edit -> Undo doesn't seem to do anything. I can open things like Version History, or (clicking on the File in Google Drive), Details and Activity. But none of them show anything but the current empty version. They show when previous activity happened, but not how to get those versions.
What can be done to get this file back? Thanks much.
I was able to get it back! What I had been doing wrong: Using Opera instead of Chrome. Opera showed the versions, but no arrow on the left to click on to get them back.
I saw instructions on Google Forums to clear cache, so I did that too; don't know if it helped.

Retaining File Path - Access/VB Common Dialogue DLL

So this issue appears to be unique to me as my coworkers aren't having any issues.
We have an Access DB that we use to upload files to SQL tables via forms. To choose the file for these forms there is a call in VB for a Common Dialogue DLL (me!File_Location=LaunchCD(Me) is the only code that launches the file explorer ). Whenever I upload a file, I have to remap to the folder I want every time as it reverts back to the base C drive for me. I am the only one with this issue as for everyone else it reverts back to the last folder they uploaded a file from.
I've found that people have this issue with internet browser uploading; but haven't come across anyone who is having the same issue as me with Access and it only affecting one person. If anyone could help it would be much appreciated as I use this program several times a day and it's beginning to get a bit tedious to have to remap to the folder ten times in a row to upload all files. Thanks!

How to Export Google Search History

Looks like Google has stopped supporting "Download Searches" button as mentioned here: https://support.google.com/websearch/answer/6068625?hl=en . One option is to get history from Google Chrome using something like this https://gist.github.com/evidanary/d02d89c632530878163f256fe993d5a4 . But the history in Chrome is not complete and only goes back for a few months(guessing thats when I upgraded OS).
Does anyone know how to export the search history from beginning of time?
Steps for any OS:
Type about:version in the Chrome address bar and press Enter (also works for Chromium, Iridium, Brave, etc).
Copy the path listed under Profile Path and close Chrome.
Navigate to the profile folder and locate the file named History.
The file is in the SQLite3 format and can be opened with any of the available GUIs, for example DB Browser for SQLite which is cross-platform, open-source and actively maintained.
From the SQLite tables select the urls table to see all visited URLs. You can also use File > Export to get them as a CSV (Excel), JSON or SQL file.
If you are using multiple Chrome profiles then repeat 1-5 for each profile.
I stumbled upon this when I had to migrate data from one machine to another.
Google searches in chrome are saved along with chrome history. I migrated the complete chrome history and could get the autocomplete results for my past searches.
The search history for chrome is saved in the location
(~UserProfile)\AppData\Local\Google\Chrome\User Data\Default
Look for a file History inside this folder. This is the complete chrome history (or from the time you last cleared chrome history).

Moving Google Drive Files to Another Computer Without Redownloading All of the Contents

I'm currently using Google Drive on my laptop. I'm getting a new laptop soon and want to use the same Google Drive account on this new laptop.
I know that I can install Google Drive and download all the files from the cloud, but I am concerned about my data usage since I'm living in India (my data gets capped at 20 GB every month).
I wanted to move all of the files in my current Google Drive folder manually to the new computer. Will Google Drive automatically recognize that the files are the same and link them, or will it download a new set from the cloud and mark them with (1) beside each file?
Is there any other solution that I am not considering that will allow me to move my files locally and not have to re-download / re-upload all of the existing files?
I know it's been 3 years, but for the sake of eternal internet knowledge, Michael Richardson's article might help you and maybe others that stumble here:
http://rainabba.blogspot.co.il/2013/07/how-to-really-move-your-google-drive.html
(I'm sorry, Michael, but StackOverflow won't allow me to paste the shortened URL)
The old guide said you should disconnect your account, move the files to the new folder, then edit the files in %appdata%\Local\Google\Drive\ using a Hex editor and change the path there to the new path.
In an update from April 2017, Michael said that Google has updated the client so that it can now recognize existing folders. So now you should just point the Drive client to the new folder. I couldn't figure out if it needs to be done before or after you disconnect from the account, but if anyone can try this (I can't do it right now) then please share your conclusions.
Good luck!

How to remember last download location when calling chrome.downloads.download? (Extension Developer)

The default behavior for chrome.downloads.download is to download to the default download folder. It doesn't remember it if you change the folder. Can we save the download-to location for the next call-out?
References: https://developer.chrome.com/extensions/downloads
It's concerning that Chrome actually doesn't provide the ability for an extension to get the last download path. Some say, it's due to security concern and others say, there is no significant need to have the API available to users.
You also cannot store the download path in your extension because Chrome doesn't let you get the selected download folder. I hope Google provides us with the either of these features later.
This is not a supported feature, according to this Chromium discussion.
Summary:
If you specify a filename, it's never possible to save outside of ~/Downloads (this is a bummer, for me)
You should be able to manually implement something (in a subfolder only) using the id returned from Chrome.downloads.download
A few quotes I like (edited for brevity and politeness):
Would like a download option to choose recent download folder. Would be good to remember last download location per website, like you other settings.
Seems reasonable.
Chrome does remember the last chosen directory if no filename is specified to downloads.download with Save As... Given how Save As works without specifying a filename, my intuition would be it would work the same with a filename... but it doesn't.
That one is interesting. So it kind of supports it already. There's no security concern with saving outside of Downloads.
I have just been able to restore the "remember last download location" functionality, which used to work on my previous machine, in a new install by disabling extensions and Chrome apps provided by Google. This is what I have turned off:
Extension: Google Docs Offline
Chrome Apps: Docs, Sheets, Slides
I haven't tried to narrow down which of these have been the culprit, or if any other extensions (I have a bunch) have played a role. So YMMV. Good luck :)
SOLVED. Very simple way: Insert a USB-drive or SD-card. Go to chrome settings, and specify this drive as the default download location.
Remove the drive/SD-card. Download something - the first time you do it, Chrome will offer to save to your user document folder, but instead, you save it to whereever you want.
This location will be remembered next time. Voila. So easy.
In fact, you can save previous the download location.
If you do a clean install, first of everything, change the download settings to "ask every time". It is very important not to click the text box where you can specify one download location (if you click there just once, you need a clean install again).
Chrome will then bring up the download window with your last save location.
Furthermore, you should uncheck the "settings" in the sync preferences because it will break every time you sync your settings to a new browser.