Sidebar Auto Show/Hide Version History

6 versions

Be careful with old versions!

These versions are displayed for reference and testing purposes. You should always use the latest version of an add-on.

Version 0.6 35.5 kB Works with Firefox 17.0 and later

Shrunk the hand icon that can hold the sidebar open to 16px to fit the sidebar title correctly. It was 22px.

Version 0.5 35.5 kB Works with Firefox 17.0 and later

Added fr translation

Version 0.4 34.1 kB Works with Firefox 17.0 and later

Fixed a problem with auto open if second monitor was placed above the first in the Windows control panel (possibly other operating systems as well.)

Version 0.3 34.2 kB Works with Firefox 17.0 and later

Added zh-CN locale

Version 0.2 32.9 kB Works with Firefox 17.0 and later

Added locales.

Version 0.1 25.6 kB Works with Firefox 17.0 and later

This is as a working version of the part of Optimoz Tweaks that I used. The sidebar auto open and close when the mouse touches the left side of the browser window. I rewrote the preference page to be inline and the way the preferences are read/written by the extension. I removed 'eval's and 'setTimeout's that generally aren't allowed in extensions for security reasons. I wrapped the everything in the extension in a variable and rewrote the way many functions are called (so they could be wrapped.) I eliminated several functions that were only called once or twice and were only one or two lines long. Replaces all 'var's with 'let's. I fixed the hand icon that can hold the sidebar open regardless of mouse position. Probably more too, but that's all I can remember. This extension does constantly check mouse position which can theoretically be a performance hit. I've never even seen 1% CPU usage when moving the mouse though.