I have a batch of HTML files which need some editions easy to perform with jQuery (mainly selecting some nodes and changing their attributes).My approach to achive this, has been opening them one by one in Google Chrome, excecuting the jQuery code in the console, and then copying the resulting DOM back to my HTML editor.Since what I'm currently doing takes a lot of time, and also due to the fact that every file needs the same edition (i.e., the same jQuery/JS code will work for every HTML file), I am considering to write a script/program to do this.Anyway, I am not completely clear of which of the following (if any of them) approaches I should take to accomplish this task.[*]Write a JavaScript script with jQuery using some FileSystem/File manipulation library (which one?)[*]Write a Java or C# program using some jQuery-based library (like CsQuery)[*]Finding a plugin for some of my editors (Aptana, Notepad++, Eclipse, etc) or a completely different editor that supports jQuery-like commands for edition (just as notepad++ regex replacement support). This would be slow with big batches, but at least it would allow me to avoid the annoying copy/paste to/from Chrome.Is one of this approaches the right way to accomplish what I need? (Is there a right way to do this?) Which should be more straight-forward?I think that #2 would be easier for me since I have a lot more experience in Java and C# than in JavaScript, but I think that maybe that idea would be sort of using a sledgehammer to crack a nut.