News for hackers. Stuff that matters.
Re:Second Teleportation by dag11 on Thursday January 18, 2024 @08:25PM (#39050496)
Unrelated to the article directly, it's kinda neat that the site's text selection highlight color is randomized on every mousedown.
Re:Second Teleportation by cypherpunks01 on Thursday January 18, 2024 @08:57PM (#39050706)

  /* Text Higlight Color /**/
  :root {
    --highlight-color: null;
  }

  ::selection {
    background: var(--highlight-color);
    color:#FFFFFF;
  }
  ::-moz-selection { /* Code for Firefox */
    color: #FFFFFF;
    background: var(--highlight-color);
  }
  </style>

  <!-- Text Highlight -->
  <script>
    const colors = ["#F76808", "#30A46C", "#0091FF", "#6E56CF", "#E5484D"];
    window.addEventListener("mousedown", (e) => {
      const color = colors.shift();
      document.documentElement.style.setProperty("--highlight-color", color);
      colors.push(color);
    });
  </script>
Re:Second Teleportation by vitiral on Thursday January 18, 2024 @09:45PM (#39051016)
I went back just to see and it chose WHITE as the first option, making the text invisible lol
Re:Second Teleportation by pndjk on Thursday January 18, 2024 @10:04PM (#39051122)
Just curious, what browser? This seems to be a bug.
Re:Second Teleportation by vitiral on Thursday January 18, 2024 @10:52PM (#39051390)
Chrome, nothing special on it
Re:Second Teleportation by caydenm on Thursday January 18, 2024 @09:50PM (#39051033)
Josh on our team is so happy people discovered and liked his easter egg!
Re:Second Teleportation by iSnow on Friday January 19, 2024 @03:21AM (#39052958)
On the other hand, as someone with ADHD who is easily distracted, I couldn't even finish reading the article. Those GIFs are super annoying and don't play once, no they play again and again.

Sad, because it sounded interesting, but no way I could focus enough to actually comprehend it.

Re:Second Teleportation by gsliepen on Friday January 19, 2024 @08:28AM (#39055123)
However, setting the highlight color to pure white in the CSS isn't very nice for people who load the page with JavaScript disabled.
Re:Second Teleportation by farkanoid on Thursday January 18, 2024 @08:36PM (#39050576)
I'm ashamed to admit that I spent more time highlighting random snippets of text than I did reading the article.
Re:Second Teleportation by pronouncedjerry on Thursday January 18, 2024 @08:58PM (#39050716)
did cursor-fidgeting-while-reading lead to this discovery?
Re:Second Teleportation by netsharc on Friday January 19, 2024 @06:16AM (#39054155)
I used to do this, I had to retire several mice because the underneath of the left mouse button was worn away from hitting the micro-switch so much..