News for hackers. Stuff that matters.
Re:Show HN: Extract a unique CSS selector for any element on... by nreece on Tuesday October 06, 2015 @08:05PM (#10343307)
Looks good. Seems like you use it internally for your product as well. Our automated feed generator with inbuilt selector support: https://feedity.com might be of help to you. Have a look.
Re:Show HN: Extract a unique CSS selector for any element on... by bazzargh on Wednesday October 07, 2015 @05:44AM (#10345029)
This is already built into the browser: in firefox, inspect element, then right click in the source and 'Copy Unique Selector' does this. In Chrome, you do the same inspect element, but the right click item is 'Copy CSS Path'
Re:Show HN: Extract a unique CSS selector for any element on... by GFuller on Wednesday October 07, 2015 @05:58AM (#10345071)
You're right. However, the purpose of this bookmarklet is to provide a streamlined method of getting the selector without having to go into the source. Using 'inspect element' is easy for me and you but for some people its enough to put them off trying to get the selector.