Skip to content

Instantly share code, notes, and snippets.

@hensm
Created October 10, 2017 23:26
Show Gist options
  • Save hensm/10b254697034dc5ea662fa262fdbdff3 to your computer and use it in GitHub Desktop.
Save hensm/10b254697034dc5ea662fa262fdbdff3 to your computer and use it in GitHub Desktop.
Fixed urlbar
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bindings>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="urlbar-popup" extends="chrome://browser/content/urlbarBindings.xml#urlbar-rich-result-popup">
<implementation>
<constructor><![CDATA[
this.removeAttribute("flip");
]]></constructor>
</implementation>
</binding>
</bindings>
@namespace "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
@-moz-document url("chrome://browser/content/browser.xul") {
#PopupAutoCompleteRichResult {
/* bindings.xml in the same folder as userChrome.css */
-moz-binding: url("bindings.xml#urlbar-popup") !important;
}
#navigator-toolbox {
display: contents !important;
}
#nav-bar {
-moz-box-ordinal-group: 2 !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment