The main thing is that, despite my essentially non-existent software-dev skills, I spent the last few hours copying and pasting what looked like relevant code from version 2.8.6.1 to version 2.7.3.1 to successfully backport the "autohide the toolbar buttons in Full-Screen mode" setting (I'm honestly kind of amazed doing this "just work" considering that I don't really understand the actual lines of code in question).
However, I was wondering if I was a bit hasty and maybe there's was already a better solution? In particular, it's looking like the function introduced in v2.8.9.1 (in fact is one of if not the only change relative to v2.8.8.1) to still show the toolbar buttons in fullscreen whenever the toolbar is visible may be a function exclusive to Australis—either that, or the developer of the extension simply did not implement such a function until the extension had already dropped support for non-Australis (the latter of which occurred with v2.8.8.1).
—————————————————
At least for documentation purposes, here are the lines of code to modify in v2.7.3.1 to backport the aforementioned "autohide the toolbar buttons in Full-Screen mode" setting (you'll also probably want to increment the version number or something in the install.rdf file); all three of the modified files are located in chrome/fx4/content/
In the file HCPlusLib.js add the following at line 473:
Code: Select all
// fullscrButs_autohide
this.arrayOptions.push( new HCPlusLib.Hcp_PrefValue( "BOOL_PREF", "plus.home.fullscrButs_autohide" , function(option_hPrefVal){
option_hPrefVal.setAsDomAttribute(document.getElementById("main-window"));
}, true , true ) );
In the file opt_look2_home.xul add the following at line 114 (if for some reason you did the 3rd step before this one, then it may be at line 116 or 117 instead):
Code: Select all
<groupbox style="">
<caption> Full-Screen mode option: </caption>
<hbox class="baseline inline" flex="1">
<checkbox id="check_fullscrButs_autohide" preference="fullscrButs_autohide" flex="1"
label="Autohide also Firefox 'Home' Button and Custom-Min,Max,Close buttons when autohiding Toolbars in Full-Screen mode (default: yes)"
/>
</hbox>
</groupbox>
Also in the file opt_look2_home.xul add the following at line 32:
Code: Select all
<preference id="fullscrButs_autohide" name="extensions.hide_caption.plus.home.fullscrButs_autohide" type="bool" instantApply="true" onchange="" />
In the file overlay.xul replace the entire existing line of code on line 28 with:
Code: Select all
<hbox id="hcp-rightbar-fixed" context="hcp-menu-windowcontrols" class="collapseWith_fullscrBars">
Also n the file overlay.xul replace the entire existing line of code on line 159 with:
Code: Select all
class="collapseWith_fullscrBars hc-hideon-fx4titlebar-all-platform"