Goto after installing your contentscript extension in developer mode ( unpacked ). Using contentscript.js and manifest.json, make a chrome extension, host ransack.js locally to whatever service you want ( PHP, Ruby, Python, etc ). Step 1 - Using chrome disable ALL security protocols. so began the best/worst hack I've written in a while. I tried GeekLad's system, unfortunately two breaking changes have occurred #1 URL has changed ( I modified and hosted my own copy which led to #2 type=rss arguments no longer works. If you're a JavaScript developer, use my script, and it appears your history has caused it to break please feel free to help me fix it and send me any updates to the code. Unfortunately, since the script does everything within the browser, I cannot debug it when it encounters histories that break it. I ran it against my own history, and successfully downloaded over 130K records, which came out to around 30MB when exported to CSV.ĮDIT: It seems that number of foks that have used my script have run into problems, likely due to some oddities in their history data. It works by accessing the same feed, but performs the iteration of reading the entire history 1000 records at a time, converting it into a CSV string, and making the data downloadable at the touch of a button. My blog post has a bookmarklet you can use to easily launch the script. no data is transmitted to a third-party), and you can download it to a CSV file. It all works directly within your web browser on the client side (i.e. wrote up a blog post on how to download your entire Google Web History using a script I put together. executeQuery ("SELECT * FROM urls where visit_count > 100") Statement = connection.createStatement () getConnection ("jdbc:sqlite:/home/username/.config/chromium/Default/History") Run: java -classpath ".:sqlite-jdbc-3.7.2.jar" GetChromiumHistory The program compiles and runs on my Linux 2.6.39 environment: /** You will need to change the argument for getConnection () to point to where the history files reside on your machine. The program was adapted from the java workspace website (as credited in the code). Since the original poster asked for a simple program, here it is. Return browser + " - " + title + " - " + url Public URL(string url, string title, string browser) String CommandText = "select * from " + table ĭB = new SQLiteDataAdapter(CommandText, sql_con) Sql_cmd = new SQLiteCommand(CommandText, sql_con) ĭataTable ExtractFromTable(string table, string folder) String CommandText = "delete from " + table Sql_con = new SQLiteConnection("Data Source=" + dbPath + Void DeleteFromTable(string table, string folder) If (tempstr != "Local")įor (int i = 0 i ExtractUserHistory(string folder)ĭataTable historyDT = ExtractFromTable("urls", folder) ĭataTable visitsDT = ExtractFromTable("visits", String tempstr = documentsFolder.Split('\\') ĭocumentsFolder += "\\Google\\Chrome\\User Data\\Default" String documentsFolder = Environment.GetFolderPath Net from here and add the references to. You probably also want to download the SQLite for. Most of the code I got from here but I tweaked it abit to add support for Google Chrome. Here is a class I created to read browsing data from Google chrome.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |