
$_ffmode_pref = "general.useragent.compatMode.firefox";

_UAgent_FFMode{
macroinfo=_("Firefox compatibility mode");
menuchecked=getpref(BOOL, $_ffmode_pref);
togglepref(BOOL,$_ffmode_pref);
}

# ----- PRIVATE

_UAgent_BuildMenu{
# tools menu
setmenu("Misc","macro",_("Firefox compatibility mode"),_UAgent_FFMode);

}

$OnInit=$OnInit."_UAgent_BuildMenu;";

# ------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."UAgent;";