Potential bug with StyloaiX AGENT_SHEET loading
See original GitHub issueThere’s a known [1] [2] problem with customizing tooltip pop outs in Firefox where some tooltips (e.g. home button,search,extension buttons) can’t be styled with the usual code in userChrome.css:
tooltip{
-moz-appearance: none !important;
background: red !important;
color: blue !important;
}
The only way to make it work that i ever found was to “load the agent sheet before the first window has opened” which this loader unfortunately doesn’t support out of box(*.ag.css,*as.css), but previously in Firefox 78 ESR i was able to do it with StyloaiX with the same code as above.
Unfortunately after updating to FF ESR 91.8 (portable)/FF Developer Edition 100.0b2 (portable) and downloading newest loader/styloaix files, this no longer works:
No matter if it’s AGENT/USER/AUTHOR it doesn’t seem to make a difference now. I’ve tested this on a different script loader mentioned in [2] and it works there without a problem, so i’m not sure if this is a bug or just intended drawback after some changes to loader/styloaix in the past year.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
Thanks, fixed.
It’s working as expected. Enabled/disabled is respected, it’s just that
Instant Preview
has higher priority. If preview is enabled, you want the style to be temporarily applied even if its state is disabled. As soon as you close Editor, style (preview) is removed.If
Instant Preview
is not checked and you haven’t clickedPreview
button, disabled styles will never be applied, even after being modified and saved.It works! At least on my Win10 ESR91, thanks for a quick update.
There’s one marginal behavior i found, while it instantly applies the style on/off in editor window, if you try to turn off the whole style file in the popup window
it doesn’t refresh in this scenario, at least while turning it off (turning it on applies correctly).
Also it looks like the file on/off state isn’t respected by editor window at all. You can apply any changes in it even if the edited file is turned off. From what i can tell this isn’t a new behavior and it acted the same way in pre-update version of StyloaiX.
At the end of the day unless someone edits files that are turned off then this is very marginal.