change the number of recently used bookmark folders

User Help for Mozilla Firefox
Posts: 1
Joined: December 8th, 2017, 9:42 pm

Post Posted February 11th, 2018, 8:40 pm

Is it possible to change the number of recently used bookmark folders?
i really want this function ! Why they wouldn't make this an internal option is stupid.
Reference link



User avatar
Posts: 39382
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted February 12th, 2018, 1:41 am

Moving this to Firefox Support...
Ancient Amateur Astronomer
Win-7-HP/IntelĀ® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-62.0-70.0/T-bird-
(Always choose the "Custom" Install.)

Posts: 4286
Joined: February 3rd, 2009, 6:29 pm

Post Posted February 12th, 2018, 9:57 am

WebExtensions cannot override a chrome file provided by the application.

Posts: 4286
Joined: February 3rd, 2009, 6:29 pm

Post Posted February 12th, 2018, 10:50 pm

You could override the editBookmarkOverlay.js file with a chrome registration hack. (for advanced users only)

Chrome Registration

You would need to redo the chrome.manifest file and chrome_registration_hack_editBookmarkOverlay_*.js file each time the application updates since the editBookmarkOverlay.js file may change each time the application updates.

* command prompt

Code: Select all
cd /d C:\Program Files\Mozilla Firefox
copy chrome.manifest chrome.manifest.backup
notepad chrome.manifest
notepad chrome_registration_hack_editBookmarkOverlay_58_0_2.js

* chrome.manifest

Code: Select all
# this line is a comment

# Source file: view-source:chrome://browser/content/places/editBookmarkOverlay.js
# Find what: const MAX_FOLDER_ITEM_IN_MENU_LIST = 5;
# Replace with: const MAX_FOLDER_ITEM_IN_MENU_LIST = 10;

override chrome://browser/content/places/editBookmarkOverlay.js chrome_registration_hack_editBookmarkOverlay_58_0_2.js appversion=58.0.2 application={ec8030f7-c20a-464f-9b0e-13a3a9e97384}

* chrome_registration_hack_editBookmarkOverlay_58_0_2.js

(copy source in browser, paste and edit source in notepad)

And remember to save the files in ANSI or UTF-8 without a BOM.

Firefox 58.0.2
Windows 7 SP1 32-bit

Return to Firefox Support

Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot] and 3 guests