FF68 destroyed URL bar results customization

Help :snoo_thoughtful:

URL bar results were only as wide as the URL bar, had round corners and the footer was hidden.Now it looks like this abomination (see attached picture).

​

/* urlbar and searchbar autocomplete popup */

	`#PopupAutoCompleteRichResult`

	`{`

		`background: 0 !important;`

		`margin-top: -2px !important;`

		

		`border: 0 !important;`

		`filter: drop-shadow(0 12px 6px rgba(0, 0, 0, .25)) !important;`

		`overflow: visible !important;`

		`padding-bottom: 28px !important;`

	`}`

​

	`#PopupAutoCompleteRichResult .autocomplete-richlistbox,`

	`#PopupAutoCompleteRichResult [anonid="footer"]`

	`{`

		`background-color: #474749 !important;`

		`margin-inline-start: calc(var(--item-padding-start) + 20px - 0px) !important;`

		`margin-inline-end: calc(var(--item-padding-start) + 80px) !important;`

	`}`

​

	`#PopupAutoCompleteRichResult .autocomplete-richlistbox`

	`{`

		`padding: 0 !important;`

		`/* comment to keep footer */`

		`border-radius: 0 0 8px 8px !important;`

		`overflow: hidden !important;`

	`}`

​

	`#PopupAutoCompleteRichResult .autocomplete-richlistitem`

	`{`

		`border: 0 !important;`

		`border-radius: 0 !important;`

		`padding: 0 !important;`

		`height: 36px !important;`

	`}`

​

	`/* footer is hidden by default */`

	`#PopupAutoCompleteRichResult [anonid="footer"]`

	`{`

		`margin-top: -8px !important;`

		`border-radius: 0 0 8px 8px !important;`

		`/* comment to keep footer */`

		`display: none !important;`

	`}`

​

	`.search-panel-header,`

	`.search-panel-one-offs`

	`{`

		`background: 0 !important;`

	`}`

​

Pls help.

https://i.redd.it/6rh3iq9xrba31.png

Posted Jul 14, 2019, 8:02 PM UTC

48
Ceirin•

What do you want it to look like?

I changed my userchrome to this:

#urlbar-results {
background-color: transparent !important;
}

#urlbarView-results {
background-color: var(--toolbar-bgcolor) !important;
padding: 0 !important;
}

.urlbarView-row {
border-radius: 0 !important;
}

This makes the ugly shadow underneath the results disappear (due to background: transparent), and removes the padding + rounded borders from the results.

1
jscher2000•

The structure of the drop-down changed. You can temporarily revert it back to the old structure if you don't want to update all your rules. Here's how:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste URLB and pause while the list is filtered

(3) Double-click the browser.urlbar.quantumbar preference to switch the value from true to false

Alternately, if you want to start migrating your code, it would be easier to read and test if you share it using a site like Pastebin instead of whatever is happening with all the backticks. (Markdown is unnecessarily complicated sometimes.)

1
[deleted]•

[deleted]

1
schneemann_gamingOP•

This is the URL bar results that I have at the moment.
I already replaced #PopupAutoCompleteRichResult with #urlbar-resutls as suggested by PratikPingale, but this did not change the situation.

https://pastebin.com/i5kT5bt5

1
jscher2000•

The new bar has new selectors throughout. For example:

  • OLD: .autocomplete-richlistbox
  • NEW: #urlbarView-results

You need to figure out each one, or turn off Quantumbar and go back to the old bar (and your old rules).

Also, don't use the @namespace line to limit your rules to XUL elements, since the new bar is primarily composed of HTML elements.

1
schneemann_gamingOP•
  1. So how do I "figure each one" out?

  2. Now that you mention it, I had a XUL element that "fixed" the ugly scrollbar (replaced with simple scrollbar). I just noticed that is broken as well in FF 68.

I really dont like this constant changing of stuff in the background.

1
jscher2000•

For #1, you can use the Browser Toolbox to explore the drop-down. You need to turn off popup auto-hiding in order to use the Inspector on it. See: https://developer.mozilla.org/docs/Tools/Browser_Toolbox

Looking at the original question, here are some of the major ones:

  • OLD: #PopupAutoCompleteRichResult

  • NEW: #urlbar-results

  • OLD: #PopupAutoCompleteRichResult .autocomplete-richlistbox

  • NEW: #urlbar-results #urlbarView-results

  • OLD: #PopupAutoCompleteRichResult .autocomplete-richlistitem

  • NEW: #urlbar-results .urlbarView-row

1
PratikPingaleNightly•

#PopupAutoCompleteRichResult is changed to #urlbar-results in FF68 and further

1
[deleted]•

[deleted]

1
schneemann_gamingOP•

Unfortunately, changing #PopupAutoCompleteRichResult to #urlbar-results did nothing for me.

Same result as before.

1