I am trying to find a way to count a number of tabs that are currently open in Chrome by javascript.
I have searched and found chrome.tabs.query(). But when I opened
It can only be used in extension development.
You are not able to access that information from document level.
document