top | item 31009208

(no title)

throw_away | 3 years ago

I am a highlight reader. Going through this thread, I thought it would be nice to automate it, as it's a triple-click to highlight a paragraph in safari.

What if instead, it was just on hover? I'd like to opt into this for just pages with long text, and so I created a bookmarklet.

Using this page:

https://mcdlr.com/css-inject/

I added this naive css:

  p:hover {
    background-color: Highlight;
  }
It works ok, if any fellow highlight readers want to give it a try, but does anyone with any sort of css-fu know how to make it more robust? I tried adding other tag:hovers, but nesting quickly makes this weird. Is there a way to select parents of text nodes?

discuss

order

No comments yet.