var bgmodule=chrome.extension.getBackgroundPage();function proc_close(){if(history.length<=3){chrome.tabs.getCurrent(function(a){chrome.tabs.remove(a.id)})}}function proc_close2(){chrome.tabs.getCurrent(function(a){chrome.tabs.remove(a.id)})}function proc_onload(){proc_setlang();_getid("fix1_2").innerHTML=chrome.i18n.getMessage("ext_name")+" ("+bgmodule.g_exttype+")";_getid("fix1_3").onclick=function(){history.go(-2)};_getid("fix1_4").onclick=proc_close2;var b=location.href;if(b==undefined){b=""}var e=getparam(b,"autourl");var a=getparam(b,"autourl_closechrometab");var d=getparam(b,"time");if(e.length>100){e=e.substr(0,100)+"..."}_getid("fix1_1").innerHTML=unescape(e);if(a=="true"){var c=new Date();if(d&&(c.getTime()-d<5000)){window.setInterval(proc_close,200)}}}window.onload=proc_onload;