Jump to content

How to disable text selection highlighting?


cochize1

Recommended Posts

How to disable text selection highlighting on all emby pages and subpages?

Whenever I doubleclick on the logo to make it go fullscreen some part of text is being slected, how can I disable that entirely?

image.thumb.png.c01fb1742fc5b28a2f637fefbfe8563f.png

Link to post
Share on other sites
Happy2Play

Something like this

::-moz-selection { /* Code for Firefox */
  background: transparent;
}

::selection {
  background: transparent;
}

or

* {  -webkit-user-select: none; 
  -moz-user-select: none;         
  user-select: none;              
}

 

Edited by Happy2Play
  • Like 1
Link to post
Share on other sites
Happy2Play
20 minutes ago, daedalus said:

anyway to enable it "globally" for everything? cause emby just allows it for "not link" items fro whatever reason

Maybe something like this to allow buttons selection.

.emby-button {  -webkit-user-select: all; 
  -moz-user-select: all;         
  user-select: all;              
}

 

  • Like 1
Link to post
Share on other sites
Happy2Play
21 minutes ago, daedalus said:

great thx but this does not do it for the links in the side scrolling banners

9047198_Screenshot2020-12-22202924.png.cc691b79f38830c28a03526fe0974f67.png

They are a pain to get without activating the link, but this works. Sort of left click dragging on the link.

.emby-button, .cardTextCentered {
    -webkit-user-select: all;
    -moz-user-select: all;
    user-select: all;
}

 

Link to post
Share on other sites
Happy2Play
1 hour ago, daedalus said:

sry does not work here with FF

episode cards are a pain as they are Draggable but they work, just have to actually find the bottom edge of the card to drag up and catch the text.  With the limited padding between the two sections you have a very limited drag select area as Firefox acts differently then Edge/Chrome.

padding.thumb.jpg.e4a21f0ad592f281ae5bc33732e74bf7.jpg

.emby-button, .cardTextActionButton {
    -webkit-user-select: all;
    -moz-user-select: all;
    user-select: all;
}

FF 85

ff.thumb.jpg.68b57cae7eb4adc0d3a5dd2aa70f58fb.jpg

  • Like 1
Link to post
Share on other sites

still not perfect, but big thanks for helping me out here, this is much more emby offerns and is sufficent for now for me

11 hours ago, Happy2Play said:

.emby-button, .cardTextActionButton { -webkit-user-select: all; -moz-user-select: all; user-select: all; }

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...