Hacker News new | ask | show | jobs
by notyourwork 3028 days ago
It really depends on how complex/simple the page is. If its small site with little context you can usually traverse from parent body ignoring classes/ids. However, for more complex sites changing class/id values on each build can certainly help make this a lot more challenging.

Ideally changing the children counts to prevent things like $(body).children().children()[3].html().