alichtman / alichtman/open_tab_tracker

Track Chrome / Chromium Open Tabs

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

For `macOS`, run some Applescript:

```
tell application "Chrome"
count every tab of every window
end tell
```

I don't know how to do this on Linux for sure.

`/Users/alichtman/Library/Application Support/Google/Chrome/Default/Local Storage/leveldb` looks like it contains session files, and maybe we can parse them to get the tab count.
See https://github.com/IncideDigital/rvt2/blob/a520ed69146c3c479b9404330df1b44b39b2cb4f/plugins/common/RVT_skype.py for parsing the leveldb files.

Chrome's LDB comparator is https://source.chromium.org/chromium/chromium/src/+/main:content/browser/indexed_db/indexed_db_leveldb_operations.cc;l=39-47;bpv=1;bpt=1?q=idb_cmp1&ss=chromium: idb_cmp1

https://stackoverflow.com/a/35142175/8740440

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.