I am assuming the answer will be "no" but figured I'd ask people more knowledgable than me.
Is there any sort of CSS selector for matching URLs that I have bookmarked in my browser? I see that I can use the psuedocass :visited
for URLs in my browswer history, so I thought maybe there could be a structure that might work for URLs in my bookmarks but which might not be in history any longer.
I am assuming the answer will be "no" but figured I'd ask people more knowledgable than me.
Is there any sort of CSS selector for matching URLs that I have bookmarked in my browser? I see that I can use the psuedocass :visited
for URLs in my browswer history, so I thought maybe there could be a structure that might work for URLs in my bookmarks but which might not be in history any longer.
1 Answer
Reset to default 0Bookmarks are not part of the DOM, they are only in the client's browser, therefore there is no CSS-selector to engage with in that way. There is also no way for javascript to connect properly to bookmarks in a user's browser (short of a browser extension), so you can't even really create a script that would be able to parse all the links in the page, compare it to the saved bookmarks, and add CSS to them, but then even if it were possible, that would be a heck of a script to write just to make a link look colourful.
:visited
it would be extremely limited in what styling it could apply, since it for privacy reasons it any such styling would have to be undetectable by JavaScript. – Alohci Commented Mar 23 at 5:21