Count Bookmarks In Folders

Adds a bookmark folder menu item that displays the amount of bookmarks in a folder.

Add-on stats

By: kgersen
Users: 2
Rating: 5.00 (1)
Version: 1.2 (Last updated: 2024-09-15)
Creation date: 2024-09-06
Weekly download count: 2
Firefox on Android: No
Risk impact: Low risk impact
Risk likelihood: High risk likelihood
Manifest version: 2
Permissions:
  • menus
  • bookmarks
  • storage
Size: 30.66K

Other platforms

Not available on Chrome
Not available on Edge
Want to check extension ranking and stats more quickly for other Firefox add-ons? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Firefox Browser Add-ons.

Add-on summary

This extension adds a context menu item 'Bookmarks: a / b [x]' to bookmark folders menus.* These menus are opened when right clicking a bookmark folder in the Bookmarks Sidebar, Bookmarks Toolbar, Bookmarks Menu, and Bookmarks Library. This extension may be toggled off/on by clicking its toolbar button. When off, the bookmarks will not be counted.

  • a: the total of all bookmarks that are immediate children of a bookmark folder.
  • b: the total of all bookmarks inside a folder (including those within every subfolder).
  • x: time in milliseconds to retrieve all the bookmarks so they can be counted.

The vast majority of Firefox users have less than 2000 bookmarks. Counting bookmarks for these users is a quick operation. However, for users that right click bookmark folders with large amounts of bookmarks, it may be a slow process. For example, it took around 1 second for the bookmarks.getSubTree method to finish on a bookmark folder with 50,000 bookmarks inside it that were spread among many subfolders. This number of course may differ one way or the other depending on a users CPU. For users that often open bookmark folder menus on folders with large amounts of bookmarks, it may be desirable to keep this extension off until actually needed so as not to waste extra CPU cycles.

Add-on safety

Risk impact

Count Bookmarks In Folders requires very minimum permissions.

Risk likelihood

Count Bookmarks In Folders may not be trust-worthy. Avoid installing if possible unless you really trust this publisher.

Upgrade to see risk analysis details