Coder Social home page Coder Social logo

fero8 / chrome-tab-counter Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 10.0 863 KB

Google Chrome extension that counts open tabs and windows.

Home Page: https://chrome.google.com/webstore/detail/chrome-tab-counter/fhnegjjodccfaliddboelcleikbmapik

JavaScript 74.29% HTML 25.71%
chrome-extension

chrome-tab-counter's People

Contributors

bzier avatar fero8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chrome-tab-counter's Issues

FIX tab counter numbers are wrong

use case:

open up a new chrome window for a website with some links
open 10 links from that site
detach the original tab and close the window with the other tabs you just opened

expected result:

tab counter decrements by 10

actual result:

tab counter decrements by 1, sometimes 0

notes:

this is a random use case, I'm sure there are many. I've been using this parallel with "Tab Count" and "Tab Counter" for months with hundreds of tabs open at a time and probably thousands of tabs opened during the uptime of Chrome (I have to kill it weekly as it memfloods like crazy). Only "Tab Count" reports the correct open tabs number (currently showing 149), both "Tab Counter" and this ("Chrome Tab Counter") drift off (currently both showing 975)

save current count to CLI-accessible file

It would be useful for command line and shell purposes to have the current number of tabs logged to a file somewhere. Is this feasible within chrome-tab-counter?

I've tried to determine this number directly from Chrome's "Current Tabs" file with Chromagnon, but its contents seem to fluctuate quite a bit for no apparent reason, and is generally off by +/- 40%. The number of chrome processes is somewhat useful too, but it's typically less than one process per tab so that doesn't work either. I've tried to get the number from chrome-tab-counter's local storage sqlite file, but it always shows me just 1 tab.

However, the extension's status display always seems to be correct. Can this be saved to a file periodically or each time it changes?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.