jsdom-editor

Edit the DOM and reload it

Allows to edit the dom and output the content so it cant be reloaded with jsdom.

jsdom-editor http://example.com
var editor = require('jsdom-editor');

jsdom.env('http://example.com', function(err, window) {
  editor(document, function(html) {
    console.log(html);
  });
});

MIT