Re:Show HN: Jam API, turn any site into a JSON api using CSS...
by bartkappenburg on Thursday April 28, 2016 @07:17AM
(#11587900)
OT perhaps: I'm still looking for a solution that has a graphical UI that allows users to point and click an element on their page and returns the corresponding CSS-selector. SelectorGadget does this as a chrome-extension but I'm looking for something that works without an extension.
[ Parent
| on HN ]
Re:Show HN: Jam API, turn any site into a JSON api using CSS...
by dkopi on Thursday April 28, 2016 @07:24AM
(#11587935)
Chrome Developer tools.
Inspect an element to get it in the elements tab.
Right click the element's HTML, copy -> copy selector.
#hnmain > tbody > tr:nth-child(3) > td > table > tbody > tr.athing > td.default
Re:Show HN: Jam API, turn any site into a JSON api using CSS...
by bartkappenburg on Thursday April 28, 2016 @07:26AM
(#11587942)
Explain that to a small business owner (our customers) using IE of Safari. ;-)
Re:Show HN: Jam API, turn any site into a JSON api using CSS...
by toupeira on Thursday April 28, 2016 @08:21AM
(#11588229)
Why not make a screencast?
Re:Show HN: Jam API, turn any site into a JSON api using CSS...
by fizx on Thursday April 28, 2016 @07:25AM
(#11587938)
AFAIK, Selectorgadget's chrome extension is just a wrapper around the bookmarklet. It's pure JS, doesn't use any sort of elevated privileges, and is MIT licensed so you can include the core engine in your own projects.
Re:Show HN: Jam API, turn any site into a JSON api using CSS...
by hegivor on Thursday April 28, 2016 @08:26AM
(#11588263)
Flutter Selector(https://flutter.social/bookmarklet) seems to do exactly what you want.