repeat: change back-button color
-
- Posts: 94
- Joined: September 23rd, 2005, 11:20 pm
repeat: change back-button color
Back in 2011, I asked for help changing the back-button color in FF4.0.
A moderator IDed as "smsmith" provided the solution:
provide a "chrome" folder in "application data/mozilla/firefox/profiles/*.default"
and insert a text file called "userChrome.css" in that folder with the
following text:
@namespace url("http://www.mozilla.org/keymaster/gateke ... s.only.xul");
#back-button:not([disabled="true"]):not([open="true"]):not(:active){
background-color: green !important;
}
That worked.
I now want to do the same thing in FF52, but that technique doesn't work.
Any suggestions?
FF32 (32-bit), XP SP3
A moderator IDed as "smsmith" provided the solution:
provide a "chrome" folder in "application data/mozilla/firefox/profiles/*.default"
and insert a text file called "userChrome.css" in that folder with the
following text:
@namespace url("http://www.mozilla.org/keymaster/gateke ... s.only.xul");
#back-button:not([disabled="true"]):not([open="true"]):not(:active){
background-color: green !important;
}
That worked.
I now want to do the same thing in FF52, but that technique doesn't work.
Any suggestions?
FF32 (32-bit), XP SP3
- the-edmeister
- Posts: 32249
- Joined: February 25th, 2003, 12:51 am
- Location: Chicago, IL, USA
Re: repeat: change back-button color
Do you have the name of the Profile folder correct?
You may not be using a Profile with "*.default" in the name.
.
You may not be using a Profile with "*.default" in the name.
.
A mind is a terrible thing to waste. Mine has wandered off and I'm out looking for it.
-
- Posts: 94
- Joined: September 23rd, 2005, 11:20 pm
Re: repeat: change back-button color
According to "Help>Troubleshooting>Profile Folder" it is
s1w00m4e.default-1460684940484
which is where I put the "chrome" folder with the
userChrome.css text file inside it.
Again, the text file has:
@namespace url("http://www.mozilla.org/keymaster/gateke ... s.only.xul");
#back-button:not([disabled="true"]):not([open="true"]):not(:active){
background-color: green !important;
}
(I even tried inserting that empty line to see if that would help)
Again, the complete destination is C:\Documents and Settings\{.user.}\Application Data\Mozilla\Firefox\Profiles\s1w00m4e.default-1460684940484\chrome
Besides "chrome", the other folders in the ".default" folder are:
bookmarkbackups
crashes
datareporting
extensions
gmp
gmp-eme-adobe
gmp-gmpopenh264
healthreport
jetpack
minidumps
saved-telemetry-pings
sessionstore-backups
storage
weave
webapps
Is that any help?
s1w00m4e.default-1460684940484
which is where I put the "chrome" folder with the
userChrome.css text file inside it.
Again, the text file has:
@namespace url("http://www.mozilla.org/keymaster/gateke ... s.only.xul");
#back-button:not([disabled="true"]):not([open="true"]):not(:active){
background-color: green !important;
}
(I even tried inserting that empty line to see if that would help)
Again, the complete destination is C:\Documents and Settings\{.user.}\Application Data\Mozilla\Firefox\Profiles\s1w00m4e.default-1460684940484\chrome
Besides "chrome", the other folders in the ".default" folder are:
bookmarkbackups
crashes
datareporting
extensions
gmp
gmp-eme-adobe
gmp-gmpopenh264
healthreport
jetpack
minidumps
saved-telemetry-pings
sessionstore-backups
storage
weave
webapps
Is that any help?
-
- Posts: 94
- Joined: September 23rd, 2005, 11:20 pm
Re: repeat: change back-button color
Oops,my original post should say "FF52 (32-bit)", not FF32.
- therube
- Posts: 21714
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: repeat: change back-button color
Worked for me.
(Quite ugly the way/what it highlights, but...)
If you had anything else in the userChrome.css, rename the existing, recreate using just the code you show & test.
(You'll need to close & restart FF.)
(Quite ugly the way/what it highlights, but...)
If you had anything else in the userChrome.css, rename the existing, recreate using just the code you show & test.
(You'll need to close & restart FF.)
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
-
- Posts: 94
- Joined: September 23rd, 2005, 11:20 pm
Re: repeat: change back-button color
Since it still isn't working for me, can you confirm the following:
if there are NO PAGES to go back to, the "Back" button should be
light gray.
If there are previous pages in the stack (the "Back" button has
somewhere to go), the "Back" button should be green instead of
black.
Is that what you're seeing?
I had to create the chrome folder and the userChrome.css text file
from scratch using the information that I listed above.
So that's all there is.
I copied the sentences in the "userChrome.css" file directly
from the answer that "smsmith" gave me in 2011.
It was for use with FF4 and it worked back then.
Those two sentences are all that exists in the "userChrome.css"
file since it didn't exist until I created it.
(I've restarted the whole computer 2 or 3 times since then, so
FF52 HAS been restarted).
if there are NO PAGES to go back to, the "Back" button should be
light gray.
If there are previous pages in the stack (the "Back" button has
somewhere to go), the "Back" button should be green instead of
black.
Is that what you're seeing?
I had to create the chrome folder and the userChrome.css text file
from scratch using the information that I listed above.
So that's all there is.
I copied the sentences in the "userChrome.css" file directly
from the answer that "smsmith" gave me in 2011.
It was for use with FF4 and it worked back then.
Those two sentences are all that exists in the "userChrome.css"
file since it didn't exist until I created it.
(I've restarted the whole computer 2 or 3 times since then, so
FF52 HAS been restarted).
- therube
- Posts: 21714
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: repeat: change back-button color
1.Before
> NO PAGES to go back to, the "Back" button should be light gray.
Right.
2.After
> If there are previous pages in the stack (the "Back" button has somewhere to go), the "Back" button should be green
Right.
> NO PAGES to go back to, the "Back" button should be light gray.
Right.
2.After
> If there are previous pages in the stack (the "Back" button has somewhere to go), the "Back" button should be green
Right.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
- therube
- Posts: 21714
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: repeat: change back-button color
Just for kicks, SeaMonkey.
While I do use a userChrome.css to color tabs & whatnot, I don't think I do anything to the back button, so it goes green by default.
While I do use a userChrome.css to color tabs & whatnot, I don't think I do anything to the back button, so it goes green by default.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
-
- Posts: 94
- Joined: September 23rd, 2005, 11:20 pm
Re: repeat: change back-button color
I found the problem.
There have been several updates in a row to FF during which
they screwed up my font specs. I temporarily adjusted the
system appearance settings to accomodate the changes.
So I've been seeing "userChrome.css" whenever I look in
the "chrome" directory.
After I finished screwing with the system fonts and FF
settings so that I can, once again, read web pages without
my glasses, I discovered that at some point a ".txt"
extension was tacked onto the end of "userChrome.css"
producing the filename "userChrome.css.txt".
The font sizes and screen resolution on my monitor were
dropping the ".txt" from view unless I tried to edit the name
field to change the name.
Instead of renaming it and trying a new one, I simply
dropped the ".txt" extension off of the end.
Now that it's working, I understand why you called it "ugly".
The original "back arrow" in FF4 had a circle that was no
bigger than the zone height of the address bar and the
color change only made that small circle turn green.
Now that they've put that giant circle around the "back"
button and no longer restrain the effect to just the circle,
you're left with a giant green "blob" in the top left
corner of your screen instead of a small green circle
with an arrow in it which is what showed up in FF4.
I'll live with it, though, since it makes it easier to see
if I can go back a page without having to drag the mouse
all the way across the page and click on it just to find out.
Thanks for your help.
There have been several updates in a row to FF during which
they screwed up my font specs. I temporarily adjusted the
system appearance settings to accomodate the changes.
So I've been seeing "userChrome.css" whenever I look in
the "chrome" directory.
After I finished screwing with the system fonts and FF
settings so that I can, once again, read web pages without
my glasses, I discovered that at some point a ".txt"
extension was tacked onto the end of "userChrome.css"
producing the filename "userChrome.css.txt".
The font sizes and screen resolution on my monitor were
dropping the ".txt" from view unless I tried to edit the name
field to change the name.
Instead of renaming it and trying a new one, I simply
dropped the ".txt" extension off of the end.
Now that it's working, I understand why you called it "ugly".
The original "back arrow" in FF4 had a circle that was no
bigger than the zone height of the address bar and the
color change only made that small circle turn green.
Now that they've put that giant circle around the "back"
button and no longer restrain the effect to just the circle,
you're left with a giant green "blob" in the top left
corner of your screen instead of a small green circle
with an arrow in it which is what showed up in FF4.
I'll live with it, though, since it makes it easier to see
if I can go back a page without having to drag the mouse
all the way across the page and click on it just to find out.
Thanks for your help.
- Frank Lion
- Posts: 21177
- Joined: April 23rd, 2004, 6:59 pm
- Location: ... The Exorcist....United Kingdom
- Contact:
Re: repeat: change back-button color
Hi, I can tell that this stuff is fairly new to you, so I'll not do any explanation on this.rickety_goodman wrote:I'll live with it, though, since it makes it easier to see
if I can go back a page without having to drag the mouse
all the way across the page and click on it just to find out.
Just use this instead -
Code: Select all
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/*Franks Green Back Button...*/
#back-button:not([disabled="true"]):not([open="true"]):not(:active) .toolbarbutton-icon {
background-color: rgba(25,179,48,0.9) !important;}
I've also toned down the bright green and if you want a more subtle effect, then change the 0.9 in the code to 0.6 or lower.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
.
-
- Posts: 94
- Joined: September 23rd, 2005, 11:20 pm
Re: repeat: change back-button color
Thanks very much. That's exactly what I was looking for.
Depending on what page I'm on and what I do on that page,
I might left-click the back arrow or I might use <Alt>+(left arrow).
In both cases, it's nice to be able to simply look up and see if
the previous page you were looking at is one step away in the
stack, or if you have been transferred away to a new page
with a new stack.
I keep trying to find a style sheet "Dummies" page where I
can read-up on the commands that you and "smsmith"
are using in FF, but so far, I'm coming up empty handed.
Again, thanks.
Depending on what page I'm on and what I do on that page,
I might left-click the back arrow or I might use <Alt>+(left arrow).
In both cases, it's nice to be able to simply look up and see if
the previous page you were looking at is one step away in the
stack, or if you have been transferred away to a new page
with a new stack.
I keep trying to find a style sheet "Dummies" page where I
can read-up on the commands that you and "smsmith"
are using in FF, but so far, I'm coming up empty handed.
Again, thanks.
- Frank Lion
- Posts: 21177
- Joined: April 23rd, 2004, 6:59 pm
- Location: ... The Exorcist....United Kingdom
- Contact:
Re: repeat: change back-button color
No problem.rickety_goodman wrote:Thanks very much.
Try this - http://forums.mozillazine.org/viewtopic ... #p13274933I keep trying to find a style sheet "Dummies" page where I
can read-up on the commands that you and "smsmith"
are using in FF, but so far, I'm coming up empty handed.
Again, thanks.
If you only rarely need to adjust something though, it's probably easier just to ask here.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
.