1.
The code for this extension is from
Bookmark Autohider, by
Reno Reckling
with the minor addition of sensing the cursor in more fields (the unified search bar, main menu, and
tool bar).
I made these changes because I combine all those fields into a single customized tool bar.