NikolaiT / adblock-detect-javascript-only

Detecting uBlock Origin and Adblock Plus with JavaScript only
39 stars 3 forks source link

Seems fail in recent browsers #2

Open Summersummer3 opened 2 years ago

Summersummer3 commented 2 years ago

Sorry for bothering I test on some recent version browsers but all failed :-( For chrome(Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36), it always returns "unknown (0)"; As well as on firefox("Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0") Some ideas? Maybe the adblockanalytics.com has been already existed 😂 ?

Summersummer3 commented 2 years ago

I tried to find the reason that may be fetch api will raise an error and stop when response.status == 404; While xhr works well 😂