Re-write seotest.js to be a simple framework where each test is simply registered to the framework and is then automatically ran. This will then enable devs using this plugin to add their own custom filters by simply registering them to the framework example:
window.seotest.register(
'check_broken_links',
'Broken Links',
function(resultCont, url, html, headers, fields){
// Test performed here
resultCont.append(url + ' has broken links');
}
);
Re-write seotest.js to be a simple framework where each test is simply registered to the framework and is then automatically ran. This will then enable devs using this plugin to add their own custom filters by simply registering them to the framework example: