Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Allow to select most texts in UI, to allow for clipboard copying. #55

Open
Uricorn opened this issue Apr 22, 2016 · 2 comments

Comments

@Uricorn
Copy link

Uricorn commented Apr 22, 2016

Currently it is not possible to select, and then copy the following texts:

  • Username
  • Next song in playlist
  • Current song name
  • Current DJ name
  • Names of users in user-lists
  • Settings
  • Pad Description
  • Song name in history
  • Prompt messages
@ProditorMagnus
Copy link

ProditorMagnus commented Apr 23, 2016

The source of this bug is /pads/lib/css/back.css

Specifically

body {
margin: 0;
padding: 0;
background: #0a0a0a;
color: #ddd;
outline: none;
border: none;
list-style: none;
font: 16px 'Roboto',sans-serif;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

For quick-fix people may use this

var css = document.createElement("style"); css.type = "text/css"; css.innerHTML = "* { -webkit-touch-callout: text !important; -webkit-user-select: text !important; -khtml-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; }"; document.body.appendChild(css);

As user !important is more !important than author !important this will work even if this limitation will be decided to be intentional.

@ProditorMagnus
Copy link

#60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants