|
|
|
|
|
by throw_away
1527 days 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? |
|