I put this in my userchrome.css in my profile directory.
#stop-button[disabled="true"] { display:none; }
#stop-button:not([disabled]) + #reload-button { display:none; }
but only the 1st line works not the 2nd one.
I put this in my userchrome.css in my profile directory.
#stop-button[disabled="true"] { display:none; }
#stop-button:not([disabled]) + #reload-button { display:none; }
but only the 1st line works not the 2nd one.
Get the "Stop-or-Reload Button" extension. Or if you want to manually edit userChrome.css, you can use this, courtesy of Improve Firefox:
/* Remove Forward button when there's nothing to go forward to */
#forward-button[disabled="true"] { display: none }
/* Remove Stop button when there's no page loading */
#stop-button[disabled="true"] { display: none }