"undefined"==typeof window.dianshangji_cdr&&(window.dianshangji_cdr={debug_:!1,debug:function(a){this.debug_&&console.debug(a)},sendRequest:function(a,b){var c=this;c.debug("sendRequest "+a);chrome.extension.sendRequest(a,function(d){try{c.debug("responseText "+d),"undefined"==typeof d&&(d=null),b(d)}catch(e){c.debug("cdr exception: "+e+", requestUrl = "+a)}})},getTabUrl:function(a){chrome.tabs.query({active:!0,windowId:chrome.windows.WINDOW_ID_CURRENT},function(b){b=b[0];a({url:b.url,title:b.title})})}});
appconf.oemid&&chrome.storage.local.get("_oeminfo",function(a){try{var b=a._oeminfo;b&&(window.dianshangji_oeminfo=JSON.parse(b))}catch(c){}});
