3

Is it possible to configure when the pointer changes from arrow to hand? I'm talking about the interface, not web pages. For example, when hovering over Firebug's icon, the pointer turns into a hand but on greasemonkey, stylish and gmail manager it stays arrow shaped.

I'd like it to turn into hand on all active places: - addon mini-icons - tabs - bookmark buttons in the personal bookmark toolbar

is this possible?

5

Put the following in your userChrome.css file:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

toolbarbutton,
.tabbrowser-tabs *,
statusbarpanel image,
.statusbarpanel-menu-iconic {
    cursor: pointer !important;
}

You can find your userChrome.css file at YourProfileDir/chrome/userChrome.css where YourProfileDir means:

  • %APPDATA%/Mozilla/Firefox/Profiles/[profile name]/ for Windows
  • ~/Library/Application Support/Firefox/Profiles/[random string].default/ for Mac OS X
  • ~/.mozilla/[Linux Login Name]/[random string].slt/ for Linux

If the file doesn't exist, create it.

  • Perfect for toolbar and tabs, is there a selector for addon icons (those on bottom right) too? Thanks – Matteo Riva Feb 9 '10 at 10:41
  • Yep, I've edited the answer to include those. I used the DOM Inspector extension to figure out the selectors. – Stefan Monov Feb 9 '10 at 10:51
  • Thanks a lot, works perfectly. One last thing, is there a way to tell Firefox to reload userChrome.css other than closing and restarting it? – Matteo Riva Feb 9 '10 at 11:05
  • Not that I know of but do tell me if you find a way! – Stefan Monov Feb 9 '10 at 11:08
  • 1
    @kemp, if you have stylish install just add it as a stylish script. No need to touch userChrome.css – Sam Hasler Feb 9 '10 at 16:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.