javascript:(function()%7B var hosts=['****']; if(hosts.indexOf(window.location.host)===-1)%7B window.location.href='*****'; return; %7D var doc=$(document); if(!sessionStorage.title)%7B sessionStorage.title=doc.attr('title'); %7D function func(interval)%7B
console.info('timestamp:%d',new Date().getTime()); interval=interval%7C%7C10*1000; console.debug('interval:%d',interval); var span=$('#ScheduleText');%20if(span.text()==='100%')%7B%20doc.attr('title',sessionStorage.title);%20var%20array=$('span.box');%20console.debug('array:%d',array.length);%20var%20comment='%E5%8D%81%E5%88%86%E7%9A%84%E6%9C%89%E7%94%A8%EF%BC%8C%E8%B0%A2%E8%B0%A2%E5%88%86%E4%BA%AB%EF%BC%81';%20if(array.length%3E0)%7B%20var%20index=Math.round(Math.random()*(array.length-1));%20comment=$.trim(array.eq(index).text());%20%7D%20console.debug('comment:%s',comment);%20var%20textarea=$('#txtcomment');%20if(textarea)%7B%20textarea.text(comment);%20%7D%20var%20stars=$('span.cmstar1');%20console.debug('stars:%d',stars.length);%20if(stars.length%3E0)%7B%20stars.last().trigger('mouseover');%20stars.last().trigger('click');%20%7D%20alert('%E5%AD%A6%E4%B9%A0%E5%AE%8C%E6%88%90%EF%BC%8C%E8%AE%B0%E5%BE%97%E6%8F%90%E4%BA%A4%E8%AF%84%E8%AE%BA%E5%93%9F%EF%BC%81');%20textarea.focus();%20%7Delse%7B%20doc.attr('title','[AUTO]'+sessionStorage.title);%20var%20div=$('#dvWarningView');%20console.debug('div:%d',div.length);%20if(div.length%3E0)%7B%20var%20btn=div.children('input.btnok');%20console.debug('btn:%d',btn.length);%20if(btn.length%3E0)%7B%20btn.trigger('click');%
20console.info('click');%20%7D%20%7D%20console.log('handle:%d',setTimeout(func,interval));%20%7D%20%7D%20if(sessionStorage.title===doc.attr('title'))%7B%20func();%20%7Delse%7B%20alert('%E8%AF%B7%E8%80%90%E5%BF%83%E7%AD%89%E5%BE%85%E5%AD%A6%E4%B9%A0%E5%AE%8C%E6%88%90%EF%BC%81');%20%7D%20%7D)();