josh- / CloudyTabs

CloudyTabs is a simple menu bar application that lists your iCloud Tabs.
http://joshparnham.com/projects/cloudytabs/
789 stars 52 forks source link

Tabs limited to 99 per device? #62

Open gingerbeardman opened 3 years ago

gingerbeardman commented 3 years ago

I have hundreds (290 right now) of tabs on my iPhone that I'd really like to cleanup with the help of CloudyTabs.

However, it only shows the first/oldest 99?

Natalie-321 commented 3 years ago

I second this. I have over 300 tabs open on my iPhone. There is currently a bug in iOS and MacOS preventing iCloud tab syncing from working properly , so having CloudyTabs as an option to clean up my tabs would be awesome. Thanks!

peterkos commented 3 years ago

As a workaround, on iOS, you can long-press on the bookmark icon, and it'll prompt you to save all tabs to a bookmark:

peterkos commented 3 years ago

It looks like the ~/Library/Safari/CloudTabs.db SQLite database that this repo reads from only stores 99 items in it at a time... Which is strange because Safari lists more than 99 in its cloud tabs view. Maybe the CloudTabs.db is cached/paginated on Apple's end due to some technical limitation?

Either way, doesn't seem possible to read more values if the values simply don't exist in the local store :(

gingerbeardman commented 3 years ago

I only see the first 99 in my Safari (actually the first 99, which is kind of useless, perhaps because this is a new Mac) so I wonder if you see the most recent 99 and it caches the rest?

stefan123t commented 2 years ago

See the following answer from rfindeis on Apple SE: Where Safari 15 store tabs opened in groups?

"Regular" tabs (tabs not opened in groups) are stored in ~/Library/Safari/CloudTabs.db but tabs opened in Tab Groups aren't there, so where are they stored?

Safari has another database file in ~/Library/Containers/com.apple.Safari/Data/Library/Safari/SafariTabs.db. It has a table bookmarks which has a row for each tab group entry. There is a parent column which has the id of the tab group itself.