Copying the code of
this old post (from 9 years, 8 months and 24 days ago
) I create a hotkey to show/hide the bookmarks toolbar, and it works... but sometimes it gets glitched (the bookmarks "disappear")
The problem is "fixed" if you "manually" activate the toolbar (via right click > show bookmarks toolbar)
The code is the same.
Code: Select all
var toolbar = document.getElementById("PersonalToolbar");
toolbar.collapsed = !toolbar.collapsed;
document.persist(toolbar.id, "collapsed");
Does anyone know how to fix it? Maybe Firefox changed a little bit in almost 10 years!