Coder Social home page Coder Social logo

Comments (6)

0xENDER avatar 0xENDER commented on July 18, 2024 1
*{
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -khtml-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

This should do the trick

from google-assistant-unofficial-desktop-client.

regisandre avatar regisandre commented on July 18, 2024 1

I love the idea, but it should be integrated to improve the user experience. I think it is important to leave the possibility of copying certain content directly from the interface.

I have an idea for that, when hovering the mouse over certain texts, displays a small copy-paste icon.
image

from google-assistant-unofficial-desktop-client.

Melvin-Abraham avatar Melvin-Abraham commented on July 18, 2024

@micahlt This seems to be a reasonable feature. Contributions are more than welcome 😊.

One thing to take into consideration is that this option must be provided as a setting that can be toggled just so that it gives users more flexibility in choice...

from google-assistant-unofficial-desktop-client.

0xENDER avatar 0xENDER commented on July 18, 2024

[copy]{
-webkit-touch-callout: all;
-webkit-user-select: all;
-moz-user-select: all;
-webkit-user-drag: all;
-khtml-user-select: all;
-ms-user-select: all;
user-select: all;
}

from google-assistant-unofficial-desktop-client.

Dreaming-Codes avatar Dreaming-Codes commented on July 18, 2024
*{
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -khtml-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

This should do the trick

:not(input):not(textarea),
:not(input):not(textarea)::after,
:not(input):not(textarea)::before {
user-select: none;
-webkit-user-select: none;
cursor: default;
}
this is the best method as it does not disable it in the fields where it is necessary and avoids using css specific features for browsers as electron only uses chrome

from google-assistant-unofficial-desktop-client.

0xENDER avatar 0xENDER commented on July 18, 2024

inputs are not affected by the user-select property

from google-assistant-unofficial-desktop-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.