Setting any of
document.getElementById('PopupAutoCompleteRichResult').setAttribute('hidden', true)
document.getElementById('PopupAutoCompleteRichResult').hidden = true
document.getElementById('PopupAutoCompleteRichResult').setAttribute('style', 'display: none;');`
hides the AutoComplete Popup.
But how do I show it again? Neither display: -moz-popup nor hidden = false works!
I’m also unable to get the AutoComplete Popup back after hiding it. But depending on your specific requirement, another possible solution is to simply disable/enable the bar through the preferences. Here’s a very simple proof-of concept I wrote that toggles availability of the bar every 10 seconds: