10

When the number of tabs reaches 100, the tab counter turns into a smiley face like so :D

I wish to know how many tabs are open, without doing the manual count. Is there a way?

enter image description here

0
11

This is an Easter egg coded 4 years ago

From this XDA post- you need a rooted device ( you can't access /data/data/ without root )

  1. Download a root explorer capable app such as ES file explorer

  2. Navigate to chromes profile directory, mine was at /data/data/com.android.chrome

  3. Open the app_tabs folder

  4. You should now see a single folder labeled "0"

  5. Select it and open its properties, under file count deduct 1 and that will be how many tabs you have open currently, deduct 1 because 1 file in there is only an overall tab state file

Verified on my device ( Moto X Play, 6.0.1, Chrome 52.0. 2743.91) when the tabs open are 4 = Files (5) minus one

enter image description here

0
2

This is really dumb that Google won't just show the number in Chrome on the phone instead of showing :D past 99 tabs, but this is the best I can come up with. (GOOGLE, PLEASE FIX THIS!)

Note: if someone knows how to use the Google APIs I wonder if they can script this and count this automatically!

  1. On a computer, NOT on a phone, go to your "other devices" Chrome history, and find your phone device (for me it is "Pixel 2"). Note: for this to work, you must be signed into the same Google account on both your computer's Chrome browser as well as in your phone.
    1. In your Chrome browser, press Ctrl + H, then on the left side, click "Tabs from other devices"
    2. OR, in your computer's Chrome browser, just navigate straight to here: chrome://history/syncedTabs
  2. You'll see something like this: enter image description here
  3. Find the location to the left of the first icon next to the first link in the list. This location is marked in yellow in the image below. Left click on this location and drag right to highlight a word or two, as shown here: enter image description here
  4. Now manually scroll down the page until you find the last link in the list for this device (where this device is your phone, or course). Once there, Shift + Click at the end of the last row to highlight all the way down to the last row, as shown here. I clicked at the location marked in yellow: enter image description here.
  5. Now, use Ctrl + C and Ctrl + V to copy-paste all of this into your favorite text editor/code editor which shows line numbers. I like Sublime Text 3. I think it's great!
  6. Voilá! The number of lines you have is equal to the number of tabs you have open in Chrome on this device--which is my Google Pixel 2! I have 494 open tabs: enter image description here. Indeed, this is way too many. Next question I have: how do I mass-close them?: How do I close all, or many at once, Chrome tabs on Android on a phone?

If someone can script this process, please do! You may even be able to make it a Javascript bookmarklet or something which is runnable in Chrome on a PC or phone? I don't really know Javascript, but here are some of my favorite bookmarklets I use regularly in GitHub code review, for example, if this helps get you started writing bookmarklets to solve this problem: https://gist.github.com/ElectricRCAircraftGuy/0a788876da1386ca0daecbe78b4feb44.

0

With some experimenting, swiping and manual counting, I've found that swiping will move a max of 25 tabs each time (depending on how strong you swipe). I think this is a programmed constant, although I haven't checked if the code is available to confirm the number.

My shortcut for counting tabs has become to swipe from one end to the other, counting the number of swipes, and multiplying by 25, giving a good enough approximation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.