The open
method of the HitRegistrationChannel
returns <bindings xmlns='http://www.mozilla.org/xbl'><binding id='dummy'/></bindings>
on a miss and <bindings xmlns='http://www.mozilla.org/xbl'/>
on a hit.
The former seems neutral and unobtrusive. But the latter has the effect of display:none
.
I don't know what's the benefit of this approach, but it works.
edit: Probably untrusted code can modify css properties but not -moz-binding