/*
* @title NU HTML5 Checker
* @description to check the page at validation service
* @include http://*
* @include https://*
* @license MIT License
* @javascript_url
*/
// Doctype HTML5 only
(function(l){
if(!/^https?\:\/\//.test(l.href) || l.hostname.indexOf('validator') >= 0 ) return;
if(document.doctype['publicId'] ===''){
window.open('https://validator.w3.org/nu/?doc=' + encodeURIComponent(l.href));
}
})(window.location);