PageSourceSearch

https://boltscraper.com/js/download-counter.js?v=1790772951589

js boltscraper.com collected 2026-10-01 15:49:49 UTC 13,337 bytes, 1 lines download raw bytes

1const _0x187317=_0x4ec3;function _0x4ec3(_0x949767,_0x5e3c37){_0x949767=_0x949767-0x163;const _0x52db20=_0x52db();let _0x4ec38d=_0x52db20[_0x949767];return _0x4ec38d;}function _0x52db(){const _0x1058ce=['key','style','apollo-scraper','Facebook\x20Pages\x20Scraper','history','userCountryCode','3016365iMniCA','includes','minimumCounts','2fzeNQi','addDownloadCountDisplay','now','getAttribute','parse','textContent','init','Apollo\x20Scraper','hidden','addEventListener','toLocaleString','getCurrentPageProduct','iframe','facebook','getItem','free','get','search','9PToBAF','sheetsUrl','from','removeItem','name','12PPFWjF','exports','Could\x20not\x20load\x20download\x20counts\x20from\x20Google\x20Sheets','downloadCountsTime','777130yEJXao','body','Yellow\x20Pages\x20Scraper','Error\x20tracking\x20download:','location','downloadCounter','formSubmitted','pathname','178827beSzot','2544140OtFfKg','website','198owLEfb','forEach','input','undefined','max','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.download-loading-spinner\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x2016px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x2016px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x202px\x20solid\x20rgba(255,\x20255,\x20255,\x200.3);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-top:\x202px\x20solid\x20var(--primary-color,\x20#007bff);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20animation:\x20download-spin\x201s\x20linear\x20infinite;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20middle;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@keyframes\x20download-spin\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200%\x20{\x20transform:\x20rotate(0deg);\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20100%\x20{\x20transform:\x20rotate(360deg);\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/*\x20Dark\x20theme\x20support\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@media\x20(prefers-color-scheme:\x20dark)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.download-loading-spinner\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x202px\x20solid\x20rgba(255,\x20255,\x20255,\x200.2);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-top:\x202px\x20solid\x20var(--primary-color,\x20#007bff);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20','triggerFreeDownload','toLowerCase','appendChild','getDownloadCount','<div\x20class=\x22download-loading-spinner\x22></div>','trackDownload','parentNode','Google\x20Maps\x20Scraper','POST','innerHTML','addLoadingSpinnerCSS','google-maps-scraper','download-counter-spinner-css','setupDownloadTracking','setAttribute','2478128csdzls','loadDownloadCounts','userCountry','querySelectorAll','setupFormSubmissionListener','formatCount','data-product','11249MIEKrX','yellow-pages-scraper','type','displayDownloadCounts','Website\x20Scraper','downloadCounts','setItem','load','createElement','head','method','form','50946FwpdvQ','facebook-scraper'];_0x52db=function(){return _0x1058ce;};return _0x52db();}(function(_0x2cf434,_0x408baf){const _0x4c156e=_0x4ec3,_0x52020d=_0x2cf434();while(!![]){try{const _0x23bd26=-parseInt(_0x4c156e(0x181))/0x1*(parseInt(_0x4c156e(0x198))/0x2)+-parseInt(_0x4c156e(0x1bb))/0x3*(parseInt(_0x4c156e(0x1af))/0x4)+-parseInt(_0x4c156e(0x1b3))/0x5+-parseInt(_0x4c156e(0x165))/0x6*(-parseInt(_0x4c156e(0x18d))/0x7)+parseInt(_0x4c156e(0x17a))/0x8*(parseInt(_0x4c156e(0x1aa))/0x9)+parseInt(_0x4c156e(0x163))/0xa+-parseInt(_0x4c156e(0x195))/0xb;if(_0x23bd26===_0x408baf)break;
1else _0x52020d['push'](_0x52020d['shift']());}catch(_0x56c494){_0x52020d['push'](_0x52020d['shift']());}}}(_0x52db,0x2d13d));class DownloadCounter{constructor(){const _0x1d9959=_0x4ec3;this[_0x1d9959(0x1ab)]='https://script.google.com/macros/s/AKfycbxbjaQ-CBOmXcXBu1CVbwDOa5L3-w0MKnD5_mIvKQrzWIpJtghcQgLsZNtW0GISZzD4aA/exec',this['downloadCounts']={'Google\x20Maps\x20Scraper':null,'Facebook\x20Pages\x20Scraper':null,'Website\x20Scraper':null,'Yellow\x20Pages\x20Scraper':null,'Apollo\x20Scraper':null,'Free\x20Google\x20Maps\x20Scraper':null},this['minimumCounts']={'Google\x20Maps\x20Scraper':0x4e2,'Facebook\x20Pages\x20Scraper':0x1b0,'Website\x20Scraper':0x347,'Yellow\x20Pages\x20Scraper':0x352,'Apollo\x20Scraper':0x14,'Free\x20Google\x20Maps\x20Scraper':0x3e8},this['init']();}[_0x187317(0x19e)](){const _0x1a39f8=_0x4ec3;this['displayDownloadCounts'](),this[_0x1a39f8(0x178)](),this[_0x1a39f8(0x17b)](),this['setupFormSubmissionListener']();}async[_0x187317(0x17b)](_0x2c96a3=![]){const _0x2323af=_0x4ec3,_0x481731=_0x2323af(0x186),_0x3ff460=_0x2323af(0x1b2),_0xf4fba3=0x1e*0x3e8;if(!_0x2c96a3){const _0x3afde4=localStorage['getItem'](_0x481731),_0x1a3642=localStorage[_0x2323af(0x1a6)](_0x3ff460);if(_0x3afde4&&_0x1a3642&&Date[_0x2323af(0x19a)]()-parseInt(_0x1a3642)<_0xf4fba3)try{const _0x17d0af=JSON[_0x2323af(0x19c)](_0x3afde4);Object['keys'](this['downloadCounts'])[_0x2323af(0x166)](_0x708adb=>{const _0x84c181=_0x4ec3,_0x3b92ba=_0x17d0af[_0x708adb]||0x0,_0x3d623b=this['minimumCounts'][_0x708adb]||0x0;this[_0x84c181(0x186)][_0x708adb]=Math[_0x84c181(0x169)](_0x3b92ba,_0x3d623b);}
1),this['displayDownloadCounts']();return;}catch(_0x556e91){}}try{const _0x41cc8f=await fetch(this['sheetsUrl']+'?action=getDownloadCounts&t='+Date['now'](),{'method':'GET','mode':'cors'});if(_0x41cc8f['ok']){const _0x2947a0=await _0x41cc8f['json']();_0x2947a0&&_0x2947a0[_0x2323af(0x186)]&&(localStorage[_0x2323af(0x187)](_0x481731,JSON['stringify'](_0x2947a0[_0x2323af(0x186)])),localStorage['setItem'](_0x3ff460,Date[_0x2323af(0x19a)]()['toString']()),Object['keys'](this['downloadCounts'])['forEach'](_0xe1fbd3=>{const _0x3981ce=_0x4ec3,_0x5d5479=_0x2947a0['downloadCounts'][_0xe1fbd3]||0x0,_0x5af237=this[_0x3981ce(0x197)][_0xe1fbd3]||0x0;this[_0x3981ce(0x186)][_0xe1fbd3]=Math['max'](_0x5d5479,_0x5af237);}));}}catch(_0x168341){console['log'](_0x2323af(0x1b1));}this['displayDownloadCounts']();}[_0x187317(0x178)](){const _0x222c51=_0x4ec3,_0x98ad4=document['querySelectorAll']('a[download],\x20a[href*=\x22.zip\x22],\x20.download-button\x20a,\x20.download-glow');_0x98ad4['forEach'](_0xc555e0=>{const _0x3b01ae=_0x4ec3;_0xc555e0[_0x3b01ae(0x1a1)]('click',_0x441ec9=>{const _0x130d48=this['extractProductName'](_0xc555e0);_0x130d48&&this['trackDownload'](_0x130d48);});});if(window['triggerFreeDownload']){const _0x216fb9=window[_0x222c51(0x16b)];window[_0x222c51(0x16b)]=()=>{const _0x488606=_0x4ec3,_0x1ed1b5=window['currentScraperProduct']||this[_0x488606(0x1a3)]();_0x1ed1b5&&this['trackDownload'](_0x1ed1b5),_0x216fb9();};}}['extractProductName'](_0x375411){const _0x4781ce=_0x4ec3;let _0x3066a8=_0x375411['getAttribute'](_0x4781ce(0x180));if(!_0x3066a8){const _0x2a0c31=_0x375411['closest']('[data-product]');_0x2a0c31&&(_0x3066a8=_0x2a0c31[_0x4781ce(0x19b)](_0x4781ce(0x180)));}if(!_0x3066a8){const _0x5c98c3=_0x375411[_0x4781ce(0x19d)]||_0x375411['getAttribute']('href')||'';if(_0x5c98c3[_0x4781ce(0x16c)]()[_0x4781ce(0x196)]('google\x20maps'))_0x3066a8=_0x4781ce(0x172);else{if(_0x5c98c3['toLowerCase']()[_0x4781ce(0x196)](_0x4781ce(0x1a5)))_0x3066a8=_0x4781ce(0x192);else{if(_0x5c98c3['toLowerCase']()[_0x4781ce(0x196)](_0x4781ce(0x164)))_0x3066a8=_0x4781ce(0x185);else{if(_0x5c98c3['toLowerCase']()['includes']('yellow\x20pages'))_0x3066a8=_0x4781ce(0x1b5);else{if(_0x5c98c3['toLowerCase']()[_0x4781ce(0x196)]('apollo'))_0x3066a8=_0x4781ce(0x19f);else _0x5c98c3[_0x4781ce(0x16c)]()[_0x4781ce(0x196)](_0x4781ce(0x1a7))&&(_0x3066a8='Free\x20Google\x20Maps\x20Scraper');}}}}}return!_0x3066a8&&(_0x3066a8=this['getCurrentPageProduct']()),_0x3066a8;}['getCurrentPageProduct'](){const _0x5f0d65=_0x4ec3,_0xeda708=window['location'][_0x5f0d65(0x1ba)];if(_0xeda708[_0x5f0d65(0x196)](_0x5f0d65(0x176)))return'Google\x20Maps\x20Scraper';else{if(_0xeda708[_0x5f0d65(0x196)](_0x5f0d65(0x18e)))return _0x5f0d65(0x192);else{if(_0xeda708[_0x5f0d65(0x196)]('website-scraper'))return'Website\x20Scraper';else{if(_0xeda708[_0x5f0d65(0x196)](_0x5f0d65(0x182)))return _0x5f0d65(0x1b5);else{if(_0xeda708['includes'](_0x5f0d65(0x191)))return _0x5f0d65(0x19f);else{if(_0xeda708[_0x5f0d65(0x196)]('free'))return'Free\x20Google\x20Maps\x20Scraper';}}}}}return null;}async['trackDownload'](_0x4cdfb8){const _0x37c7f9=_0x4ec3;if(!_0x4cdfb8||!this[_0x37c7f9(0x186)]['hasOwnProperty'](_0x4cdfb8))return;return new Promise(_0x2644ed=>{const _0x2937df=_0x4ec3;try{const _0x2eb069={'action':_0x2937df(0x170),'productName':_0x4cdfb8,'userAgent':navigator['userAgent'],'country':window[_0x2937df(0x17c)]||'','countryCode':window[_0x2937df(0x194)]||'','page':window[_0x2937df(0x1b7)][_0x2937df(0x1ba)],'referrer':document['referrer']||''},_0x2c0cb2=document['createElement'](_0x2937df(0x1a4));_0x2c0cb2[_0x2937df(0x190)]['display']='none',document['body']['appendChild'](_0x2c0cb2);const _0x3d0973=_0x2c0cb2['contentDocument']||_0x2c0cb2['contentWindow']['document'],_0x5158ce=_0x3d0973[_0x2937df(0x189)]('form');_0x5158ce[_0x2937df(0x18b)]=_0x2937df(0x173),_0x5158ce['action']=this['sheetsUrl'],Object['entries'](_0x2eb069)[_0x2937df(0x166)](([_0x5f447c,_0x1c7453])=>{const _0x7c6ad0=_0x4ec3,_0x2639df=_0x3d0973[_0x7c6ad0(0x189)](_0x7c6ad0(0x167));_0x2639df[_0x7c6ad0(0x183)]=_0x7c6ad0(0x1a0),_0x2639df[_0x7c6ad0(0x1ae)]=_0x5f447c,_0x2639df['value']=_0x1c7453,_0x5158ce[_0x7c6ad0(0x16d)](_0x2639df);}),_0x3d0973[_0x2937df(0x1b4)][_0x2937df(0x16d)](_0x5158ce);let _0x11b62f=![];const _0x27f9f7=()=>{!_0x11b62f&&(_0x11b62f=!![],_0x2644ed());};
1_0x2c0cb2[_0x2937df(0x1a1)](_0x2937df(0x188),_0x27f9f7),setTimeout(_0x27f9f7,0x7d0),_0x5158ce['submit'](),setTimeout(()=>{const _0x374a1d=_0x4ec3;_0x2c0cb2&&_0x2c0cb2[_0x374a1d(0x171)]&&_0x2c0cb2[_0x374a1d(0x171)]['removeChild'](_0x2c0cb2);},0xbb8),setTimeout(()=>{this['loadDownloadCounts'](!![]);},0x7d0);}catch(_0x518d55){console['log'](_0x2937df(0x1b6),_0x518d55),_0x2644ed();}});}[_0x187317(0x184)](){const _0x5de56e=_0x4ec3;this[_0x5de56e(0x175)](),Object['entries'](this[_0x5de56e(0x186)])['forEach'](([_0x339842,_0x5e01b9])=>{const _0x54fd19=document['querySelectorAll']('[data-download-count=\x22'+_0x339842+'\x22]');_0x54fd19['forEach'](_0x4dd1f9=>{const _0x596452=_0x4ec3;_0x5e01b9===null?_0x4dd1f9[_0x596452(0x174)]=_0x596452(0x16f):_0x4dd1f9[_0x596452(0x19d)]=this['formatCount'](_0x5e01b9);});});const _0x666139=this[_0x5de56e(0x1a3)]();if(_0x666139){const _0x22c5f0=document[_0x5de56e(0x17d)]('.download-count,\x20.downloads-count');_0x22c5f0['forEach'](_0x7308d4=>{const _0x21508b=_0x4ec3;this['downloadCounts'][_0x666139]===null?_0x7308d4['innerHTML']=_0x21508b(0x16f):_0x7308d4['textContent']=this['formatCount'](this[_0x2
11508b(0x186)][_0x666139]);});}}[_0x187317(0x175)](){const _0x160426=_0x4ec3;if(document['getElementById'](_0x160426(0x177)))return;const _0x86102f=document['createElement'](_0x160426(0x190));_0x86102f['id']='download-counter-spinner-css',_0x86102f['textContent']=_0x160426(0x16a),document[_0x160426(0x18a)]['appendChild'](_0x86102f);}[_0x187317(0x17f)](_0x8bb432){const _0x342212=_0x4ec3;return _0x8bb432[_0x342212(0x1a2)]();}[_0x187317(0x16e)](_0x33548a){const _0x315fa6=_0x4ec3;return this[_0x315fa6(0x186)][_0x33548a]||0x0;}[_0x187317(0x199)](_0x5e3832,_0x4c72ea){const _0x1c1509=_0x4ec3;_0x5e3832&&_0x4c72ea&&this[_0x1c1509(0x186)][_0x4c72ea]!==undefined&&(_0x5e3832[_0x1c1509(0x179)]('data-download-count',_0x4c72ea),_0x5e3832[_0x1c1509(0x19d)]=this[_0x1c1509(0x17f)](this[_0x1c1509(0x186)][_0x4c72ea]));}[_0x187317(0x17e)](){const _0x2bcaa1=_0x4ec3;window[_0x2bcaa1(0x1a1)]('focus',()=>{const _0x2392a6=_0x4ec3,_0x1e98dd=new URLSearchParams(window[_0x2392a6(0x1b7)][_0x2392a6(0x1a9)]);if(_0x1e98dd['get'](_0x2392a6(0x1ac))==='form'||sessionStorage['getItem'](_0x2392a6(0x1b9))){this[_0x2392a6(0x17b)](!![]),sessionStorage[_0x2392a6(0x1ad)](_0x2392a6(0x1b9));if(_0x1e98dd[_0x2392a6(0x1a8)](_0x2392a6(0x1ac))===_0x2392a6(0x18c)){const _0x502c54=window['location']['pathname'];window[_0x2392a6(0x193)]['replaceState']({},document['title'],_0x502c54);}}}),window['addEventListener']('storage',_0x72d9bf=>{const _0x1d7e8b=_0x4ec3;(_0x72d9bf[_0x1d7e8b(0x18f)]==='downloadCounts'||_0x72d9bf['key']==='forceRefreshCounts')&&this[_0x1d7e8b(0x17b)](!![]);}),(sessionStorage[_0x2bcaa1(0x1a6)](_0x2bcaa1(0x1b9))||new URLSearchParams(window['location']['search'])['get'](_0x2bcaa1(0x1ac))==='form')&&setTimeout(()=>{const _0x1e22b8=_0x4ec3;this['loadDownloadCounts'](!![]),sessionStorage[_0x1e22b8(0x1ad)]('formSubmitted');},0x3e8);}}document['addEventListener']('DOMContentLoaded',function(){const _0xe9a6dd=_0x4ec3;window[_0xe9a6dd(0x1b8)]=new DownloadCounter();});typeof module!==_0x187317(0x168)&&module[_0x187317(0x1b0)]&&(module['exports']=DownloadCounter);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.