I don't get why this requires a special purpose library. Why not create a css class highlighted where the borders of an elements would be in fluorescent green and modify the class of the elements of the DOM one wants to highlight with jquery?
yup, normally I'm all for new projects but this just seems like an overkill. You could achieve this with even just a css. I don't think it's worth it at all to be using a specialized library for it.
I made a little JS bookmarklet a while ago that reveals script, style, and meta tags, and tries to display which tags are used to build the layout: http://www.youtube.com/watch?v=wp2d24t2POI
Are there any plans in the future to make your tool so the highlight follows that I tap on mobile? Keep up the great work!
Hi, thank you a lot for supporting, the aim, actually, is to stay lightweight, but for sure you can bind it for your own pourposes and needs, like tap and select, or click and select, why not :)
This project was meant to easily surf the nodes and maybe highlight them, but it's still at early stage and any help is much appreciated!
People were doing this 15 years ago, before all the hipster web designers picked up javascript, opened terminal and called themselves programmers.
I"m sure the old JS programmers moved on to a real programming language, but they put you new guys to complete shame, and they didn't need 18 dependencies and a dependency manager to get it done.
jQuery was a great invention for web development, but everything since then has been total crap. Angular, React, Node, all of it's crap. The only people who like it are those who aren't smart enough to be real programmers.
[+] [-] S4M|10 years ago|reply
[+] [-] davej|10 years ago|reply
By the way, I believe it uses the `outline` CSS property as opposed to `border` (border changes layout, outline doesn't).
[+] [-] 720kb|10 years ago|reply
[+] [-] curiousjorge|10 years ago|reply
[+] [-] err4nt|10 years ago|reply
I made a little JS bookmarklet a while ago that reveals script, style, and meta tags, and tries to display which tags are used to build the layout: http://www.youtube.com/watch?v=wp2d24t2POI
Are there any plans in the future to make your tool so the highlight follows that I tap on mobile? Keep up the great work!
[+] [-] 720kb|10 years ago|reply
This project was meant to easily surf the nodes and maybe highlight them, but it's still at early stage and any help is much appreciated!
Thanks for sharing the video, very interesting :)
[+] [-] leeoniya|10 years ago|reply
[+] [-] 720kb|10 years ago|reply
Here you can check what's wrong and post new issues https://github.com/720kb/highlighter.js/issues
Any help is appreciated!
[+] [-] slaction|10 years ago|reply
I"m sure the old JS programmers moved on to a real programming language, but they put you new guys to complete shame, and they didn't need 18 dependencies and a dependency manager to get it done.
jQuery was a great invention for web development, but everything since then has been total crap. Angular, React, Node, all of it's crap. The only people who like it are those who aren't smart enough to be real programmers.
[+] [-] volaski|10 years ago|reply