let _crx_href=window.location.href,pageList=[{url:["https://www.amazon.com/s.*?","https://www.amazon.ca/s.*?","https://www.amazon.com.mx/s.*?","https://www.amazon.co.jp/s.*?","https://www.amazon.de/s.*?","https://www.amazon.co.uk/s.*?","https://www.amazon.fr/s.*?","https://members.helium10.com/.*?","https://www.amazon.com.au/.*?","http://42.192.90.235:8080/.*?"],js:["goods/common.js","collect/brand.js","collect/all.js"]},{url:["https://www.amazon.com/dp/.*?","https://www.amazon.com/.*?/dp/.*?","https://www.amazon.ca/dp/.*?","https://www.amazon.ca/.*?/dp/.*?","https://www.amazon.com.mx/dp/.*?","https://www.amazon.com.mx/.*?/dp/.*?","https://www.amazon.co.jp/dp/.*?","https://www.amazon.co.jp/.*?/dp/.*?","https://www.amazon.de/dp/.*?","https://www.amazon.de/.*?/dp/.*?","https://www.amazon.co.uk/dp/.*?","https://www.amazon.co.uk/.*?/dp/.*?","https://www.amazon.fr/dp/.*?","https://www.amazon.fr/.*?/dp/.*?","https://www.amazon.com.au/dp/.*?","https://www.amazon.com.au/.*?/dp/.*?","https://members.helium10.com/.*?","http://42.192.90.235:8080/.*?"],js:["goods/detail.js"]},{url:["https://www.amazon.com/sp.*?seller.*?","https://www.amazon.ca/sp.*?seller.*?","https://www.amazon.com.mx/sp.*?seller.*?","https://www.amazon.co.jp/sp.*?seller.*?","https://www.amazon.de/sp.*?seller.*?","https://www.amazon.co.uk/sp.*?seller.*?","https://www.amazon.fr/sp.*?seller.*?","https://www.amazon.com.au/sp.*?seller.*?"],js:["goods/shop.js"]},{url:["https://www.genmaijl.com/.*?"],js:["auth/auth.js"]},{url:["https://www.amazon.com/gp/bestsellers.*?","https://www.amazon.com/Best-Sellers*"],js:["goods/common2.js"]}];console.log("开始运行init.js");for(let w of pageList){let t=!1;for(let s of w.url){let w=new RegExp(s);_crx_href.match(w)&&(t=!0)}if(t)for(let t of w.js)chrome.runtime.sendMessage({type:"get_js",data:t})}