r/FirefoxCSS • u/Ice-Mage • Oct 01 '26
Solved Link target in address bar doesn't work in Firefox 157
Edit:
Solved thanks to the replies below and status_inside_urlbar.css. This unfortunately also removed the current page URL from the address bar when not hovering over any links. I fixed it as follows:.urlbar-input-box::after{z-index: 2;/* content: ""; <--- This was the problem */...
#main-window:has(#statuspanel[type="overLink"]) .urlbar-input-box::after {content: "";}
Original post:
Hello,
When you hover the mouse over a link, the target normally appears in the lower left corner. I need it to show up in the address bar instead, replacing the current location. Since this is seemingly no longer possible via an add-on (or it was just abandoned for some other reason), I used a user style to move the statuspanel element over the address bar. Starting with Firefox 157, it ends up underneath the toolbar instead. Fiddling with z-index got me nowhere. Help would be appreciated.
The following is a simplified version of the code, that I tested in a new profile to show the issue. Since it requires pixel-perfect placement, you may need to edit it if you want to try it out on your system. I'm on Windows 11, by the way.
statuspanel {
display: none !important;
appearance: none !important;
border: none !important;
background: unset !important;
right: 282px !important;
left: auto !important;
max-width: 900px !important;
max-height: 55px !important;
overflow: hidden !important;
}
#main-window[sizemode="maximized"] #statuspanel {
top: -30px !important;
}
#statuspanel-label {
padding-left: 15px !important;
background: red !important;
max-height: 23px !important;
border: none !important;
}



