News for hackers. Stuff that matters.
Re:Ask HN: Anyone highlight text as they read? by nmonsey on Tuesday April 12, 2022 @05:20PM (#31008362)
Sometimes when I use multiple monitors and have several windows open, I select text so I don't lose my place when reading. I wish the colors of the letters would not change color when selected.
Re:Ask HN: Anyone highlight text as they read? by frosted-flakes on Tuesday April 12, 2022 @07:27PM (#31009472)
You can create a custom global CSS style for that using a browser extension like Stylus. The rule would look something like this:

  *::selection {
    background: yellow;
    color: inherit;
  }