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

Could you edit the CSS so the images/text on the main page aren't selectable? #396

Closed
egirlcatnip opened this issue Sep 7, 2021 · 2 comments · Fixed by #434
Closed

Could you edit the CSS so the images/text on the main page aren't selectable? #396

egirlcatnip opened this issue Sep 7, 2021 · 2 comments · Fixed by #434

Comments

@egirlcatnip
Copy link

Here's a guide: https://reactgo.com/disable-text-selection-css/

Not sure if you can implement this as I don't know how this whole project has been created, but I guess worth asking?

@Araxeus
Copy link
Collaborator

Araxeus commented Sep 7, 2021

Text Selection can be useful for copy-paste

Image selection could probably be disabled, by adding the following to https://github.com/th-ch/youtube-music/blob/master/youtube-music.css

.image-wrapper {
	-webkit-user-select: none;
}

You're welcome to open a small PR that do this 😋

@Araxeus
Copy link
Collaborator

Araxeus commented Oct 15, 2021

Implemented this in new PR #434

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

Successfully merging a pull request may close this issue.

2 participants