Count Bookmarks In Folders door kgersen
Adds a bookmark folder menu item that displays the amount of bookmarks in a folder.
29 gebruikers29 gebruikers
Metagegevens van extensie
Over deze extensie
This extension adds a context menu item 'Bookmarks: a / b [x]' to bookmark folder 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.
The vast majority of Firefox users have less than 2000 bookmarks. Counting bookmarks for these users is a quick operation (usually less than 50 ms). Note, the more bookmarks that are inside a folder, the longer it takes to retrieve them so they can be counted. This duration may differ significantly depending on the speed of a users computer, especially if it is outdated. On a test computer, it took around 1 second for the bookmarks.getSubTree method to retrieve a bookmark folder with 50,000 bookmarks inside it that were spread among many subfolders. 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.
- 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 (usually less than 50 ms). Note, the more bookmarks that are inside a folder, the longer it takes to retrieve them so they can be counted. This duration may differ significantly depending on the speed of a users computer, especially if it is outdated. On a test computer, it took around 1 second for the bookmarks.getSubTree method to retrieve a bookmark folder with 50,000 bookmarks inside it that were spread among many subfolders. 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.
Met 5 gewaardeerd door 3 beoordelaars
Toestemmingen en gegevens
Meer informatie
- Add-on-koppelingen
- Versie
- 1.2
- Grootte
- 29,94 KB
- Laatst bijgewerkt
- één jaar geleden (15 sep. 2024)
- Verwante categorieën
- Licentie
- Mozilla Public License 2.0
- Versiegeschiedenis
- Toevoegen aan collectie