Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Learn More

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

What code do I need to edit to change the long press color (orange) to one that works better with my website?

  • 4 antwurd
  • 5 hawwe dit probleem
  • 6 werjeftes
  • Lêste antwurd fan m_vance

more options

I am building a custom website for a client to be used exclusively for Firefox on an Android tablet. When a link is long pressed, its background color always turns to the Mozilla orange. This color goes against the client's palette and looks out of place. Is there CSS code to manipulate to alter this color state?

I am building a custom website for a client to be used exclusively for Firefox on an Android tablet. When a link is long pressed, its background color always turns to the Mozilla orange. This color goes against the client's palette and looks out of place. Is there CSS code to manipulate to alter this color state?

Alle antwurden (4)

more options

Website designers cannot change the focus ring color.

more options

Is there another way to change or remove the focus ring color (besides CSS) ?

more options

I believe

   -moz-user-select:-moz-none

will give you the behavior you want.

https://developer.mozilla.org/en-US/docs/CSS/user-select

more options

Unfortunately, this does not work either.

The -webkit version of this works in Chrome for Android, though it also disables the link.