User:Opencooper/domainRedirect.js: Difference between revisions

Content deleted Content added
expand
fix
Line 138:
var parser = new URL(candidateUrl);
candidateDomain = parser.hostname;
candidateDomain = "candidateDomain.replace(/^w+\\d*\\.".replace(candidateDomain/); // get rid of www
console.log("domainRedirect.js: Proposing redirect for Domain: " + candidateDomain);