-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does it really work, though? #1
Comments
Hey @ikki4, I've been testing this again too and the restore function kinda works but not really. The data stored in |
Almost 10 days ago Onetab updated, and a lot of people have lost their tabs. I was looking for an alternative/solution when I found yours and decided to try it out. I figured that Onetab's update might've also broken your solution, so that's why I posted this issue. I'm happy that you're trying to help out, thank you so much. I wish that Onetab devs were more communicative, or at least more open about how/where they save the saved tabs' informationm so we could automate the backups. It's funny to find out about your project, because I also intended to use Selenium + Onetab's import/export feature to auto backup the saved tabs, but I also couldn't make it work. |
I am glad I'm not alone in trying to protect people from the OneTab Lost All Tabs phenomenon. I also wish the OneTab devs were more communicative. At the time, I had thought they had abandoned the project, so the losing all your tabs thing was due to outdated code, but thanks to you, now I know that they're still developing it. I also thought Selenium was going to be the best way, since they have that export feature built in, but Chrome doesn't seem to want us to access extension pages. Today, I tried looking through their encrypted source code, but the encrypted variable names made things stupidly hard, so I just ended up reaching out to them on their website. I also am suspecting that maybe the files in |
They've been over 2 years without updating it, so a lot of us thought that it was abandoned. I was gonna say that probably backing up both
and
would be enough for your backup solution to work properly again, but then I opened the "000003.log" file (the largest file, and also the most recent one) inside |
There's a .log file inside So, I still can't parse correctly through that file (can't find the right encoding that does not return invalid characters), but it looks like the file contains json dumps of data of our saved tabs. I loaded that file in python (using readlines method) and I got a list with 31 entries, each entry seems to have one or more copies of all saved tabs (from multiple dates), or one or more tab groups. If you could find out the right encoding, and if you could parse correctly as json, you'll pretty much figure out all the logic behind this file, and you'd be able to make a very effective backup tool (or tabs extractor). As I said, backing up those 2 folders from my other comment will probably work too, but figuring out this log file could make the backup tool even better. |
Wow! Seems like there's hope! Thanks for looking into it @ikki4. I'll check out that .log file and try to figure out the correct way to read it. If you make any more progress and want to contribute, feel free to fork and make a PR. |
The extension has updated again. I don't know what's changed, though. |
I created a pull request with that new path. PS: |
I was able to get the 000003.log file, but I'm still not sure how to encode it to get my tabs back. Could someone explain how they did that if successful? Thanks!! |
Since I also didn't work for me anymore i wrote some workaround. Maybe that helps. After finished I found onetab-export-to-json but didn't test it yet. |
I managed to write a Python script that extracts the tabs' links and urls from that .log file and saves them in a text file. The script can be further automated with Windows Task Manager. Check it out: https://github.com/ikki4/OneTab-Exporter It curently can identify tab groups, but can't save information about group name and status (stared, locked, etc). |
Much better option: https://github.com/ikki4/OneTab-Backup-Automation |
I've been testing this, and have not been able to successfully restore the backups.
The text was updated successfully, but these errors were encountered: