darkoshi: (Default)
My main Firefox browser that I use at work, which is on an ESR update channel, was finally updated from a pre-Quantum version to version 60.

I found that there is actually a way to get back a status bar, for displaying URLs when hovering over links, rather than having the URLs pop up and disappear:

http://www.optimiced.com/en/2018/02/11/restore-status-bar-in-firefox-quantum/


It sounds like there's even a way to put add-on buttons on the status bar too. But I haven't tried this yet, so I'm not sure:
https://www.reddit.com/r/FirefoxCSS/comments/8bfxji/been_trying_to_revive_the_addon_bar_statuspanel/

Hmmm. I'll need to see if there's a way of changing the status bar color. I don't like it being gray.

Re: Mozilla/Firefox did it again

Date: 2018-09-16 08:46 am (UTC)From: [personal profile] marahmarie
marahmarie: (M In M Forever) (Default)
Does this sandbox userChrome.js? User tustamido seems to say AutoConfig and userChrome.js are equivalent, in which case I'm glad I never bothered testing the CSS or add-on icon code from the pages we discussed, because I'm not sure I'd want to use ESR just to maintain that functionality (but I'm not sure why I would not want to. Security's a concern, though; while the ESR version might be as fully patched as that version of Firefox can be, that doesn't resolve security holes only fixed in later versions that also affect ESR but don't get patched for ESR).

Tustamido also campaigned for AutoConfig to remain unsandboxed in Nightly, Betas and so on, but no one ever said if it would be or not. I'd continue to pursue workarounds for Nightly or Betas but I just don't see myself jumping backward for an ESR (I'm already using Waterfox just to edit CSS because tools I'm comfortable using/that do what I want literally don't exist outside of it, and Waterfox is slow/insecure/backwards enough as it is. It's actually really awful).
Edited (typos) Date: 2018-09-16 08:50 am (UTC)

Re: Mozilla/Firefox did it again

Date: 2018-09-17 04:21 am (UTC)From: [personal profile] marahmarie
marahmarie: (M In M Forever) (Default)
I looked up AutoConfig last night (very briefly). Off the top of my head it doesn't seem to have anything (or else much) to do with userChrome. js but I'm not 100% sure on that either, just yet.

Re: liking Waterfox, I might too if I'd never moved on to using Quantum (which I started doing pretty much as soon as it came out, if not sooner (I can't recall now if I grabbed any Betas or Nightlys before it did)).

I didn't realize Waterfox was slow except by comparison. Quantum's so fast it makes Waterfox look like a turtle. Maybe on better hardware, though, its slowdowns/bottlenecks/general lagginess might not be as noticeable.

Re: security on Waterfox, that's why I keep it strictly for DW coding (mostly while logged out) - I figure me and the browser just can't get into too much trouble right here. :)

Re: Mozilla/Firefox did it again

Date: 2018-09-18 12:23 am (UTC)From: [personal profile] marahmarie
marahmarie: (M In M Forever) (Default)
I'm just this minute starting to look into that flag, but had to stop as soon as I started: it's not in the Beta (63.0b6) and I don't have latest official Firefox installed. I don't know what it being missing from the Beta could mean: either they haven't disabled AutoConfig in Beta or they've disabled it entirely are my two very best guesses. Just gonna dig around for more info on it now, I guess.

Edit: in my first swipe through Google I found the Beta release notes: https://www.mozilla.org/en-US/firefox/62.0beta/releasenotes/ which say the same thing official release notes do about the flag, so are we supposed to create the flag ourselves? The way it's worded on both pages I thought it was already baked in.

Edit 2: they haven't updated their official FAQ, either, to explain AutoConfig's soon to be limited to ESR, only: https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig

Edit 3: created the flag (New > Boolean), set it to true, created a Chrome folder and userChrome.css using these instructions: https://www.howtogeek.com/334716/how-to-customize-firefoxs-user-interface-with-userchrome.css/, then copied/pasted the CSS from the first link in your top post into it and it worked. Immediately disabled the flag, restarted Firefox, and the userchrome.css is still working, so apparently userChrome.css isn't dependent on AutoConfig.

I was going to put off messing with Firefox internal CSS (I have a hundred linkposts I'm clearly never going to make) but wondering if userChrome.css is dependent on AutoConfig to work just blew that idea to bits. At least now I've got that answer. Now I might as well see how the add-on icon CSS works, since I'm in there anyhow.
Edited (more info, sort of; added links; added dependency followup) Date: 2018-09-18 01:31 am (UTC)

Re: Mozilla/Firefox did it again

Date: 2018-09-18 05:05 am (UTC)From: [personal profile] marahmarie
marahmarie: (M In M Forever) (Default)
Yeah, the flag doesn't affect userChrome.css or userChrome.js at all (I've tried it every which way and even reset it (cleared the value) just to make sure).

The JS and CSS in the first link in your top post didn't work, but for some reason this identical JS did (I've done a line-by-line comparison and can't find any errors in the first. I could run an actual diff but don't _think_ I have to?): https://www.reddit.com/r/firefox/comments/8kxpbc/is_there_any_extension_that_can_create_a_status/dzbzw9v/ (parent: https://www.reddit.com/r/firefox/comments/8kxpbc/is_there_any_extension_that_can_create_a_status/) Edit: ran a diff but it just brought up spacing and comment variations that shouldn't affect the result.

It looks like the instructions there are incomplete so I got the JS at the second link to work only by accident by adding and deleting other files before I added the bottombar JS: you need that and the CSS they give you, but you also need an XML file found here: https://github.com/nuchi/firefox-quantum-userchromejs (and you might also need the userChrome.js file found there, but until I can clear Fx script cache a few more times, I won't know for sure!) edit: you don't need it, actually, just the JS, CSS and XML files mentioned are needed.

Screen cap, with a few add-on icons dragged over for demo purposes: https://intoolate.files.wordpress.com/2018/09/bottombar.png

Turns out AutoConfig and userChrome.css can control very similar things so maybe that's why people get them mixed up: https://www.userchrome.org/what-is-userchrome-js.html. As far as I can tell one seems to have no dependency on the other, while AutoConfig can do things like set browser preferences that I'm thinking userChrome can't.
Edited (more info) Date: 2018-09-19 02:13 am (UTC)

Re: Mozilla/Firefox did it again

Date: 2018-09-19 06:28 am (UTC)From: [personal profile] marahmarie
marahmarie: (M In M Forever) (Default)
Hopefully...*crosses fingers for you*

May 2025

S M T W T F S
    123
45678910
11121314151617
1819 2021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Thursday, May 22nd, 2025 11:49 pm
Powered by Dreamwidth Studios