Giter Site home page Giter Site logo

d3ward / toolz Goto Github PK

View Code? Open in Web Editor NEW
867.0 867.0 84.0 1.5 MB

Easy-to-use interface and extensive collection of testing tools for optimizing performance and user experience.

Home Page: https://d3ward.github.io/toolz/

License: Other

JavaScript 28.59% EJS 41.86% Sass 29.55%
adblock fonts test viewport-units webtools

toolz's Introduction

👋 Hey there, I'm Eduard

A passionate Front-end developer from Italy

d3ward

🚀 Status

  • 🔒 I'm currently employed and very much engaged in my role. As such, I'm not actively seeking new job opportunities.

  • 🔭 I’m currently working a secret project, and while I can't divulge details, I'm super excited about it! So, stay tuned for updates (when they're available).

  • 👨‍💻 All of my projects are available at https://d3ward.github.io

💬 Let's Chat!

Even though I'm not available for new job opportunities, I'm always open to connecting, sharing ideas, or simply chatting about all things tech.

Feel free to drop me a message or question about any of my repositories. If you'd like to discuss any tech topics, concepts, or just share some cool ideas, don't hesitate to reach out. 📬 You can get in touch with me at [email protected]



Buy Me a Coffee at ko-fi.com

d3ward

d3ward

toolz's People

Contributors

artourter avatar bongochong avatar c1arkbar avatar d3ward avatar dependabot[bot] avatar hagezi avatar ryanbr avatar themondon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

toolz's Issues

Test Ad block Toolz

Browser:
OS:
Adblock Solution:

Description of Issue:

Screenshots:
[Attach screenshots here if applicable]

Test Result:
[Describe the result of the test]

Test Log:
[Include the test log if available]

Dev Console:
[Copy and paste any relevant logs or error messages from the developer console]

list is not 100%

I always get 87% even after adding your d3 list and clearig cache. It is always doubleclick, fastclick and social media trackers that fail. your site says the list you crested blocks 100% of tests but it doesnt.

Invalid tests

adsdk.yandex.ru - not used to load scripts or banners, just clickthrough.
googleadservices.com and @@://googleadservices.com^| - exclusion does not unblock any scripts or ads, also used as clickthrough in google search ads(to prevent links breakage, when user does not use element hiding)
analytics.facebook.com not used for analytics, it is FB's old blog address

Good Shiet

Browser:
OS:
Adblock Solution:

Test Passed Value ( % ):

Description:
[Provide a detailed description of the configuration used ( DNS , VPN, Lists etc.]

Screenshots:
[Attach any relevant screenshots or examples if available]

Test Result Data:
[Provide exported test result]

Test Log:
[Include the test log if available]

Dev Console:
[Copy and paste any relevant logs from the developer console]

Test fails to detect adblock with uBlock Origin in Firefox

Browser: Firefox (with arkenfox profile)
OS: Fedora 38 Plasma
Adblock Solution: NextDNS (HaGeZi Multi Pro++) + uBlock Origin with medium mode

Description of Issue:
The test fails to detect adblocking, resulting in 19% only. Adding @@*$redirect-rule to filter list raises it up to 99%, only missing Dynamic Ad.

Brave browser with strict blocking and strict fingerprinting blocks everything, result 100%. Also using the same NextDNS filter list.

Test Result: 19%

Test Log:

script_ads : true
script_pagead : true
script_partenrads : true


Amazon => n° tests => 5
Google Ads => n° tests => 4
Doubleclick.net => n° tests => 5
Adcolony => n° tests => 4
Media.net => n° tests => 3
Ads => Total n° tests => 21

Google Analytics => n° tests => 5
Hotjar => n° tests => 7
MouseFlow => n° tests => 7
FreshWorks => n° tests => 3
Luckyorange => n° tests => 8
Stats WP Plugin => n° tests => 1
Analytics => Total n° tests => 31

Bugsnag => n° tests => 4
Sentry => n° tests => 2
Error Trackers => Total n° tests => 6

Facebook => n° tests => 2
Twitter => n° tests => 2
LinkedIn => n° tests => 2
Pinterest => n° tests => 5
Reddit => n° tests => 2
YouTube => n° tests => 1
TikTok => n° tests => 7
Social Trackers => Total n° tests => 21

Yahoo => n° tests => 11
Yandex => n° tests => 7
Unity => n° tests => 4
Mix => Total n° tests => 22

Realme => n° tests => 4
Xiaomi => n° tests => 8
Oppo => n° tests => 4
Huawei => n° tests => 6
OnePlus => n° tests => 2
Samsung => n° tests => 5
Apple => n° tests => 10
OEMs => Total n° tests => 39

cosmetic_static_ad : true


cosmetic_dynamic_ad : false


an.facebook.com - blocked
ads-api.tiktok.com - blocked
ads-sg.tiktok.com - blocked
advertising.yahoo.com - blocked
adtago.s3.amazonaws.com - not blocked
analyticsengine.s3.amazonaws.com - not blocked
analytics.s3.amazonaws.com - not blocked
pagead2.googlesyndication.com - not blocked
adservice.google.com - not blocked
pagead2.googleadservices.com - not blocked
afs.googlesyndication.com - not blocked
stats.g.doubleclick.net - not blocked
ad.doubleclick.net - not blocked
static.doubleclick.net - not blocked
m.doubleclick.net - not blocked
mediavisor.doubleclick.net - not blocked
ads30.adcolony.com - not blocked
adc3-launch.adcolony.com - not blocked
events3alt.adcolony.com - not blocked
wd.adcolony.com - not blocked
static.media.net - not blocked
media.net - not blocked
adservetx.media.net - not blocked
app-measurement.com - not blocked
analytics.google.com - not blocked
click.googleanalytics.com - not blocked
google-analytics.com - not blocked
ssl.google-analytics.com - not blocked
adm.hotjar.com - not blocked
identify.hotjar.com - not blocked
insights.hotjar.com - not blocked
script.hotjar.com - not blocked
surveys.hotjar.com - not blocked
careers.hotjar.com - not blocked
events.hotjar.io - not blocked
mouseflow.com - not blocked
cdn.mouseflow.com - not blocked
o2.mouseflow.com - not blocked
gtm.mouseflow.com - not blocked
api.mouseflow.com - not blocked
tools.mouseflow.com - not blocked
cdn-test.mouseflow.com - not blocked
freshmarketer.com - not blocked
claritybt.freshmarketer.com - not blocked
fwtracks.freshmarketer.com - not blocked
luckyorange.com - not blocked
api.luckyorange.com - not blocked
realtime.luckyorange.com - not blocked
cdn.luckyorange.com - not blocked
w1.luckyorange.com - not blocked
upload.luckyorange.net - not blocked
cs.luckyorange.net - not blocked
settings.luckyorange.net - not blocked
stats.wp.com - not blocked
notify.bugsnag.com - not blocked
sessions.bugsnag.com - not blocked
api.bugsnag.com - not blocked
app.bugsnag.com - not blocked
browser.sentry-cdn.com - not blocked
app.getsentry.com - not blocked
pixel.facebook.com - not blocked
static.ads-twitter.com - not blocked
ads-api.twitter.com - not blocked
ads.linkedin.com - not blocked
analytics.pointdrive.linkedin.com - not blocked
ads.pinterest.com - not blocked
log.pinterest.com - not blocked
analytics.pinterest.com - not blocked
trk.pinterest.com - not blocked
widgets.pinterest.com - not blocked
events.reddit.com - not blocked
events.redditmedia.com - not blocked
ads.youtube.com - not blocked
analytics.tiktok.com - not blocked
analytics-sg.tiktok.com - not blocked
business-api.tiktok.com - not blocked
ads.tiktok.com - not blocked
log.byteoversea.com - not blocked
ads.yahoo.com - not blocked
analytics.yahoo.com - not blocked
geo.yahoo.com - not blocked
udc.yahoo.com - not blocked
udcm.yahoo.com - not blocked
analytics.query.yahoo.com - not blocked
partnerads.ysm.yahoo.com - not blocked
log.fc.yahoo.com - not blocked
adtech.yahooinc.com - not blocked
extmaps-api.yandex.net - not blocked
appmetrica.yandex.ru - not blocked
adfstat.yandex.ru - not blocked
metrika.yandex.ru - not blocked
adfox.yandex.ru - not blocked
iot-eu-logser.realme.com - not blocked
iot-logser.realme.com - not blocked
api.ad.xiaomi.com - not blocked
data.mistat.xiaomi.com - not blocked
data.mistat.india.xiaomi.com - not blocked
data.mistat.rus.xiaomi.com - not blocked
sdkconfig.ad.xiaomi.com - not blocked
sdkconfig.ad.intl.xiaomi.com - not blocked
globalapi.ad.xiaomi.com - not blocked
tracking.rus.miui.com - not blocked
adx.ads.oppomobile.com - not blocked
metrics.data.hicloud.com - not blocked
metrics2.data.hicloud.com - not blocked
grs.hicloud.com - not blocked
logservice.hicloud.com - not blocked
logservice1.hicloud.com - not blocked
logbak.hicloud.com - not blocked
click.oneplus.cn - not blocked
open.oneplus.net - not blocked
samsungads.com - not blocked
smetrics.samsung.com - not blocked
nmetrics.samsung.com - not blocked
samsung-com.112.2o7.net - not blocked
analytics-api.samsunghealthcn.com - not blocked
metrics.icloud.com - not blocked
metrics.apple.com - not blocked
metrics.mzstatic.com - not blocked
api-adservices.apple.com - not blocked
books-analytics-events.apple.com - not blocked
weather-analytics-events.apple.com - not blocked
notes-analytics-events.apple.com - not blocked
advice-ads.s3.amazonaws.com - blocked
offerwall.yandex.net - blocked
webview.unityads.unity3d.com - blocked
config.unityads.unity3d.com - blocked
auction.unityads.unity3d.com - blocked
adserver.unityads.unity3d.com - blocked
adsfs.oppomobile.com - blocked
bdapi-in-ads.realmemobile.com - blocked
bdapi-ads.realmemobile.com - blocked
ck.ads.oppomobile.com - blocked
tr.iadsdk.apple.com - blocked
data.ads.oppomobile.com - blocked
advertising.apple.com - blocked
iadsdk.apple.com - blocked
advertising-api-eu.amazon.com - blocked
gemini.yahoo.com - blocked
advertising.yandex.ru - blocked

Total : 150
Blocked : 29
Not Blocked : 121

Adguard 100% Test

Browser: Microsoft Edge
OS: Windows 11
Adblock Solution: AdGuard AdBlocker (Browser Extension)

Test Passed Value ( 100% ):

Description:
Adguard Filter List

  • AdGuard Base filter
  • AdGuard Mobile Ads filter
  • AdGuard URL Tracking filter
  • AdGuard Tracking Protection filter
  • Legitimate URL Shortener
  • AdGuard Annoyances filter
  • AdGuard Cookie Notices filter
  • AdGuard Popups filter
  • AdGuard Mobile App Banners filter
  • AdGuard Other Annoyances filter
  • AdGuard Widgets filter
  • Adblock Warning Removal List
  • ABPindo
  • AdBlockID

Custom Filter List

Screenshots:
image
image
image
image

Test Result Data:
image

Test Log:

script_ads : true
script_pagead : true
script_partenrads : true


Amazon => n° tests => 5
Google Ads => n° tests => 4
Doubleclick.net => n° tests => 5
Adcolony => n° tests => 4
Media.net => n° tests => 3
Ads => Total n° tests => 21

Google Analytics => n° tests => 5
Hotjar => n° tests => 7
MouseFlow => n° tests => 7
FreshWorks => n° tests => 3
Luckyorange => n° tests => 8
Stats WP Plugin => n° tests => 1
Analytics => Total n° tests => 31

Bugsnag => n° tests => 4
Sentry => n° tests => 2
Error Trackers => Total n° tests => 6

Facebook => n° tests => 2
Twitter => n° tests => 2
LinkedIn => n° tests => 2
Pinterest => n° tests => 5
Reddit => n° tests => 2
YouTube => n° tests => 1
TikTok => n° tests => 7
Social Trackers => Total n° tests => 21

Yahoo => n° tests => 11
Yandex => n° tests => 7
Unity => n° tests => 4
Mix => Total n° tests => 22

Realme => n° tests => 4
Xiaomi => n° tests => 8
Oppo => n° tests => 4
Huawei => n° tests => 6
OnePlus => n° tests => 2
Samsung => n° tests => 5
Apple => n° tests => 10
OEMs => Total n° tests => 39

cosmetic_static_ad : true


cosmetic_dynamic_ad : true


adtago.s3.amazonaws.com - blocked
analyticsengine.s3.amazonaws.com - blocked
analytics.s3.amazonaws.com - blocked
advice-ads.s3.amazonaws.com - blocked
advertising-api-eu.amazon.com - blocked
pagead2.googlesyndication.com - blocked
adservice.google.com - blocked
pagead2.googleadservices.com - blocked
afs.googlesyndication.com - blocked
stats.g.doubleclick.net - blocked
ad.doubleclick.net - blocked
static.doubleclick.net - blocked
m.doubleclick.net - blocked
mediavisor.doubleclick.net - blocked
ads30.adcolony.com - blocked
adc3-launch.adcolony.com - blocked
events3alt.adcolony.com - blocked
wd.adcolony.com - blocked
static.media.net - blocked
media.net - blocked
adservetx.media.net - blocked
app-measurement.com - blocked
analytics.google.com - blocked
click.googleanalytics.com - blocked
google-analytics.com - blocked
ssl.google-analytics.com - blocked
adm.hotjar.com - blocked
identify.hotjar.com - blocked
insights.hotjar.com - blocked
script.hotjar.com - blocked
surveys.hotjar.com - blocked
careers.hotjar.com - blocked
events.hotjar.io - blocked
mouseflow.com - blocked
cdn.mouseflow.com - blocked
o2.mouseflow.com - blocked
gtm.mouseflow.com - blocked
api.mouseflow.com - blocked
tools.mouseflow.com - blocked
cdn-test.mouseflow.com - blocked
freshmarketer.com - blocked
claritybt.freshmarketer.com - blocked
fwtracks.freshmarketer.com - blocked
luckyorange.com - blocked
api.luckyorange.com - blocked
realtime.luckyorange.com - blocked
cdn.luckyorange.com - blocked
w1.luckyorange.com - blocked
upload.luckyorange.net - blocked
cs.luckyorange.net - blocked
settings.luckyorange.net - blocked
stats.wp.com - blocked
notify.bugsnag.com - blocked
sessions.bugsnag.com - blocked
api.bugsnag.com - blocked
app.bugsnag.com - blocked
browser.sentry-cdn.com - blocked
app.getsentry.com - blocked
pixel.facebook.com - blocked
an.facebook.com - blocked
static.ads-twitter.com - blocked
ads-api.twitter.com - blocked
ads.linkedin.com - blocked
analytics.pointdrive.linkedin.com - blocked
ads.pinterest.com - blocked
log.pinterest.com - blocked
analytics.pinterest.com - blocked
trk.pinterest.com - blocked
widgets.pinterest.com - blocked
events.reddit.com - blocked
events.redditmedia.com - blocked
ads.youtube.com - blocked
ads-api.tiktok.com - blocked
analytics.tiktok.com - blocked
ads-sg.tiktok.com - blocked
analytics-sg.tiktok.com - blocked
business-api.tiktok.com - blocked
ads.tiktok.com - blocked
log.byteoversea.com - blocked
ads.yahoo.com - blocked
analytics.yahoo.com - blocked
geo.yahoo.com - blocked
udc.yahoo.com - blocked
udcm.yahoo.com - blocked
advertising.yahoo.com - blocked
analytics.query.yahoo.com - blocked
partnerads.ysm.yahoo.com - blocked
log.fc.yahoo.com - blocked
gemini.yahoo.com - blocked
adtech.yahooinc.com - blocked
extmaps-api.yandex.net - blocked
appmetrica.yandex.ru - blocked
adfstat.yandex.ru - blocked
metrika.yandex.ru - blocked
advertising.yandex.ru - blocked
offerwall.yandex.net - blocked
adfox.yandex.ru - blocked
auction.unityads.unity3d.com - blocked
webview.unityads.unity3d.com - blocked
config.unityads.unity3d.com - blocked
adserver.unityads.unity3d.com - blocked
iot-eu-logser.realme.com - blocked
iot-logser.realme.com - blocked
bdapi-ads.realmemobile.com - blocked
bdapi-in-ads.realmemobile.com - blocked
api.ad.xiaomi.com - blocked
data.mistat.xiaomi.com - blocked
data.mistat.india.xiaomi.com - blocked
data.mistat.rus.xiaomi.com - blocked
sdkconfig.ad.xiaomi.com - blocked
sdkconfig.ad.intl.xiaomi.com - blocked
globalapi.ad.xiaomi.com - blocked
tracking.rus.miui.com - blocked
adsfs.oppomobile.com - blocked
adx.ads.oppomobile.com - blocked
ck.ads.oppomobile.com - blocked
data.ads.oppomobile.com - blocked
metrics.data.hicloud.com - blocked
metrics2.data.hicloud.com - blocked
grs.hicloud.com - blocked
logservice.hicloud.com - blocked
logservice1.hicloud.com - blocked
logbak.hicloud.com - blocked
click.oneplus.cn - blocked
open.oneplus.net - blocked
samsungads.com - blocked
smetrics.samsung.com - blocked
nmetrics.samsung.com - blocked
samsung-com.112.2o7.net - blocked
analytics-api.samsunghealthcn.com - blocked
advertising.apple.com - blocked
tr.iadsdk.apple.com - blocked
iadsdk.apple.com - blocked
metrics.icloud.com - blocked
metrics.apple.com - blocked
metrics.mzstatic.com - blocked
api-adservices.apple.com - blocked
books-analytics-events.apple.com - blocked
weather-analytics-events.apple.com - blocked
notes-analytics-events.apple.com - blocked

Total : 150
Blocked : 150
Not Blocked : 0

analytics.twitter.com

Description : analytics.twitter.com is not a tracking domain .

Just visit this domain while logged in to the twitter. It is used to show the analytics about my tweets and likes .

ok

Browser:
OS:
Adblock Solution:

Test Passed Value ( % ):

Description:
[Provide a detailed description of the configuration used ( DNS , VPN, Lists etc.]

Screenshots:
[Attach any relevant screenshots or examples if available]

Test Result Data:
[Provide exported test result]

Test Log:
[Include the test log if available]

Dev Console:
[Copy and paste any relevant logs from the developer console]

Hostsman - incompatible

"This source is not compatible"
"Server does not return all the necessary information."

Can any thing be done about it?
Thanks

fritzbox 7590 + freshmarketer.com

I blacklisted freshmarketer.com at the Blacklist of my router fritzbox 7590. But when I run the test in firefox it says it's not blocked.
I can't access the URL through firefox, showing it's blocked.
Chrome/Brave are displaying that it's blocked.

google-adservices.com isn't a google domain.

"google-adservices.com" Isn't a google domain, is a spam domain.

In a more general opinion, Are these recently added domain's are they checked beforehand and in use by third-party sites?

Please remove insights.samsung.com from your list

Hi, I was unable to access insights.samsung.com, which is Samsung's blog site. It was completely blocked by uBlock with the EasyPrivacy list. I contacted the EasyPrivacy list maintainers, who said that it was added to their block list because of this toolz block/test. They refuse to fix or remove it from EasyPrivacy until it's removed from here. Please check the site, It's not a tracking/ad host, and should not be globally blocked.

I know how to disable the blocking in my browser, but the host doesn't belong in the blocklist in the first place. Could you fix it? Thanks.

Adblock Test is inconsistent

The adblock test is inconsistent or does not work well testing adguard client + adguard assistant ( not adguard adblock the extension). I have tested using the exact same rules including the rules you provided on the exact same device. And kept getting 57% on vivaldi, Edge got 15% and then dropped to 10%.

blocking by uBlock Origin not detected

I wondered how to get a 100% blocking, as I always had a few entries stated as not blocked. I took some tests and it showed that blocking with uBlock Origin in Firefox (desktop and Android) is not detected (correctly).

Add all urls or the given blocklist to local pi-hole. Disable uBlock Origin.
-> 100% of URLs are blocked, but scripts and static/dynamic ads is red

Enable uBlock Origin, still with blocking in pi-hole.
-> scripts and static/dynamic ad is schown as blocked (green) but a few URLs which are blocked by uBlock Origin are shown as red. Even though they are blocked by pi-hole also: (ads.youtube.com, ads-api.twitter.com)

Looking in console of Firefox desktop, these two urls are not called but shown as red anyway.

Provide more detailed definition of testing paramters to users

First off, thanks for making this web app as its a great way to spotcheck blocking rules.

This is not really an issue, but I believe adding a message somewhere reminding users that blocking rules may also be defined at the DNS level or in a hosts file (non-mobile devices). This could be important to non-technical users or those that may want to test their browser and/or DNS in isolation.

Example: I ran a test on GrapheneOS's stock browser - Vandium - and it initially reported a 77% (which struck me as odd since it focuses on security over privacy). However, the issue was that the blocking rules were coming from my VPN's DNS and after switching that off the reported score was 10%. If I were to change my DNS in the future, I could be left exposed - provided with a false sense of security in regards to my browser's adblocking capabilities.

Blocking all JavaScript is bad?

If you block all JS by default, the test will look like this:
image
Which is fine I guess...?

Ideally you'd have the plain HTML show you something like,

Great! You seem to be blocking all JavaScript!...
but the test can't check if other requests are blocked without Javascript so you should allow JavaScript and run the test again."

And then remove or adjust the message after enabling JS.
Having JS blocked by default is a great privacy and adblocking tool.

Make adblock test contains css blocker

have a

that's class is like "adsbygoogle" and use document.getElementByClassName("adsbygoogle").width==0;
if it's true, that means it can block google ads correctly, use other class name like"ad" or "ad" and so on.

Request of Cleverads.vn [https://cleverads.vn/] Domain Removal from Blocklist

Hello,

We would like to make a complaint about this status and request to remove cleverads.vn from the blocklist.

Cleverads.vn is a website that provides information of Digital Marketing services, it is neither an ad network, nor an ad platform displayed on a third-party website, so we think that putting cleverads.vn on blocklist is incorrect and inappropriate, which is making a direct negative impact on our business.

We respectfully and strongly request to respond to this issue for the Parties to work on this matter promptly, and to immediately remove cleverads.vn from your blocklist.

You can contact me by email [email protected] or by phone number (+84)988079654
Thank you very much!

Test not working

I'm using nextdns with blockpage enabled because of that adblock test site don't detect that i'm blocking domains.

Screenshots:

image
image

see here in the screenshot the script is blocked but adblock test site don't detect that i'm blocking domains.


Domains to add to current categories

Currently

TikTok list is missing:
log.tiktokv.com
log.byteoversea.com

Apple is missing:
api-adservices.apple.com
books-analytics-events.apple.com
iadsdk.apple.com
ca.iadsdk.apple.com
cf.iadsdk.apple.com
metrics.apple.com
notes-analytics-events.apple.com
securemvt.apple.com
weather-analytics-events.apple.com
books-analytics-events.news.apple-dns.net
notes-analytics-events.news.apple-dns.net
weather-analytics-events.news.apple-dns.net
acfeedbackws.icloud.com
feedbackws.icloud.com
dzc-metrics.mzstatic.com
metrics.mzstatic.com

Samsung is missing:
nmetrics.samsung.com
analytics.samsungknox.com

take as you wish!

d3ward hosts

The src/d3hosts.txt list the below Mouseflow endpoints that are irrelevant for analytics, tracking or delivery of Mouseflow services.

0.0.0.0 api.mouseflow.com
0.0.0.0 tools.mouseflow.com
0.0.0.0 cdn-test.mouseflow.com

When users does an adblock test, the 3 above hosts are visited? Result means nothing in regard to analytics.

Kindly consider removing them, thanks.

Issue using ad block test with Android 1DM+ browser?

Your ad block test is awesome and very useful, but I have come across a possible issue that is beyond my personal level of understanding.

When testing the Android 1DM+ browser, I got the following results:

11% just 1DM+ with ad blocking disabled.
3% just 1DM+ with ad blocking enabled.
100% 1DM+ with ad blocking disabled plus Blokada 4 (OISD/Goodbye Ads/Samsung Blocker/a few manually allowed and blocked hosts).
23% 1DM+ with ad blocking enabled plus Blokada 4 (OISD/Goodbye Ads/Samsung Blocker/a few manually allowed and blocked hosts.

I contacted the dev of 1DM+ to question why 1DM+ returns worse results with default ad blocking enabled.

Please see screenshots for 1DM+ dev response. Does his response make sense, indicating a problem with how the page detects ad blocking when using 1DM+?

Screenshot_20210410-094809_Telegraph

Screenshot_20210410-094646_Telegraph

Screenshot_20210410-094652_Telegraph

Problem with cache in browser

When I started the test it gives me points on what I could improve the second test did not changed anything because it seems to cache in the browser. With incognito it did work.

I like to see if the cache is deleted when the page loads again

The test is not compatible with Next DNS

Windows 10 Home
no adblocker
Next DNS - OISD + Easy Privacy
Edge

It can be seen in the attached images below that in the test

"fresmarketer.com"

it is not blocked:

1

But if you open the website directly,NEXT DNS blocks it:

2

This test therefore needs to be modified.

d3ward/toolz -- I have no issues with Brave 114.0.5735.198, with Privacy Badger and just EasyList ! Version: 202307161448 ! Title: EasyList ! Last modified: 16 Jul 2023 14:48 UTC ! Expires: 4 days (update frequency) ! *** easylist:template_header.txt *** ! ! Please report any unblocked adverts or problems ! in the forums (https://forums.lanik.us/) ! or via e-mail ([email protected]). ! ! Homepage: https://easylist.to/ ! Licence: https://easylist.to/pages/licence.html ! GitHub issues: https://github.com/easylist/easylist/issues ! GitHub pull requests: https://github.com/easylist/easylist/pulls !

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Percentage?

In the Ad Block tester, how to interpret the percentage?
If it loads to a lower number, does that mean poor performance?
If higher percentage, does that mean good performance?

Remove unused checks

Just a review of the current toolz checks. When adding domains, are there example sites being used to reference against each check? Seems pointless adding a domain check if it's never used outside of https://d3ward.github.io/toolz/adblock.html

A few checks aren't actually used for tracking, people may link to these Twitter pages for example, but they're not tracking or ads.

https://blog.twitter.com/advertising
https://blog.twitter.com/marketing/en_us.html
https://blog.twitter.com/
https://advertising.twitter.com/

https://an.facebook.com/ shows no sites using it for tracking, no network blocks

Non-existent:
ads-dev.pinterest.com -> https://publicwww.com/websites/%22ads-dev.pinterest.com%22/
d.reddit.com -> https://publicwww.com/websites/%22d.reddit.com%22/
hotjar-analytics.com -> https://publicwww.com/websites/%22hotjar-analytics.com%22/
api-hotjar.com -> https://publicwww.com/websites/%22api-hotjar.com%22/
amazonclix.com -> https://publicwww.com/websites/%22amazonclix.com%22/
amazonaax.com -> https://publicwww.com/websites/%22amazonaax.com%22/
advertising-api-eu.amazon.com -> https://publicwww.com/websites/%22advertising-api-eu.amazon.com%22/
affiliationjs.s3.amazonaws.com -> https://publicwww.com/websites/%22affiliationjs.s3.amazonaws.com%22/
analyticsengine.s3.amazonaws.com -> https://publicwww.com/websites/%22analyticsengine.s3.amazonaws.com%22/

The actual domain for fastclick.com is fastclick.net, fastclick.com isn't a legit ads/tracking domain. Checking the .net is all is needed.

Add more domains to adblocking test

I think there should be a few more domains added to d3ward Adblock testing. These include domains

app-measurement.com (under google analytics)

And a whole section with these domains

ads.aerserv.com
ads.avocarrot.com
ads30.adcolony.com
adc3-launch.adcolony.com
events3alt.adcolony.com
wd.adcolony.com
events3alt.adcolony.com
adserver.unityads.unity3d.com
d.applvn.com
app.appsflyer.com
config.unityads.unity3d.com
a.applvn.com
admin.appnext.com
auction.unityads.unity3d.com
rt.applovin.com
live.chartboost.com
v2.chartboost.com
rt.applvn.com
webview.unityads.unity3d.com

All of which are used to serve ads to people. These domains were taken from AdAway/AdAway#922

Let me know what you think of this request.

Simple question: Firefox showing different results than major browsers

Hi @d3ward ,

Firstly, thank you for your Toolz page.

I did a test with your page, to compare ads blocked, between Firefox and Google Chrome.
I used 3 different devices, different days, and I used vanilla versions of FF and GC (at my test, both browsers were untouched, no add-ons, no extensions, latest versions etc).

In my test, and as expected, GC blocked few ads (around 3% on your test page).
However, unexpectedly, FF blocked around 75% (on your test page). So my next step was to try to understand the reason.

Step by step, I disabled each FF privacy setting. Then, security settings. Then, I enabled cookies. And finally I changed lot of about:config settings in order to disable, as much as possible, all the FF blocking capabilities. Guess what? At your test page, FF kept blocking around 75% of the ads.

Then I opened a discussion at Reddit/Firefox (https://old.reddit.com/r/firefox/comments/11dbsjj/testing_ff_gchrome_please_i_need_an_explanation/).
IMHO, the 75% blocked stuff is a FF bug.
But FF fanboys don't like critics (they even down-voted my post and my comments). And they blamed your page.
In short, no answers and no understanding at Reddit/Firefox.

Now my intention is to open a bug report at Bugzilla.
Before that, please, I would like your opinion.
Basically my question is, at your test page, how FF can block around 75% of the stuff, when FF blocking capabilities are disabled?

Thank you in advance!

ads.oppomobile.com is falsely showing as not blocked

Describe the bug
When visiting ads.oppomobile.com, Safari 16 says blocked by content blocker.

image

When scanning on the d3ward toolz site, it says not blocked for the bottom 2 Oppo domains.

image

This was tested with AdGuard for iOS, using the default AdGuard filters, and AdGuard Personal DNS with the AdGuard DNS filter.

Each time I run the test, it seems to produce a different result, sometimes showing one domain as not blocked, sometimes 2, sometimes all blocked.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]iPhone 13 Pro
  • OS: [e.g. iOS8.1]iOS 16.6
  • Browser [e.g. stock browser, safari]Safari
  • Version [e.g. 22]16.6

Additional context
Add any other context about the problem here.

Iky

Browser:
OS:
Adblock Solution:

Test Passed Value ( % ):

Description:
[Provide a detailed description of the configuration used ( DNS , VPN, Lists etc.]

Screenshots:
[Attach any relevant screenshots or examples if available]

Test Result Data:
[Provide exported test result]

Test Log:
[Include the test log if available]

Dev Console:
[Copy and paste any relevant logs from the developer console]

Feature Request

Possible to create a tool for creating and testing specific network IP/protocol access from the clients machine?

how to get 100 %

Hi.
I achieve 93 %
But how to block these then?
These banner keeps red.
Static Ad
Dynamic Ad
Ad Scripts Loading
ads.js
pagead.js
partner.ads.js

A little script generate rules for Adblock

The San Juan Mountains are beautiful!

const icons = {
    "Ads": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><title>ionicons-v5-j</title><path d='M48,176v.66a17.38,17.38,0,0,1-4.2,11.23l0,.05C38.4,194.32,32,205.74,32,224c0,16.55,5.3,28.23,11.68,35.91A19,19,0,0,1,48,272h0a32,32,0,0,0,32,32h8a8,8,0,0,0,8-8V152a8,8,0,0,0-8-8H80A32,32,0,0,0,48,176Z'/><path d='M452.18,186.55l-.93-.17a4,4,0,0,1-3.25-3.93V62c0-12.64-8.39-24-20.89-28.32-11.92-4.11-24.34-.76-31.68,8.53A431.18,431.18,0,0,1,344.12,93.9c-23.63,20-46.24,34.25-67,42.31a8,8,0,0,0-5.15,7.47V299a16,16,0,0,0,9.69,14.69c19.34,8.29,40.24,21.83,62,40.28a433.74,433.74,0,0,1,51.68,52.16A26.22,26.22,0,0,0,416.44,416a33.07,33.07,0,0,0,10.44-1.74C439.71,410,448,399.05,448,386.4V265.53a4,4,0,0,1,3.33-3.94l.85-.14C461.8,258.84,480,247.67,480,224S461.8,189.16,452.18,186.55Z'/><path d='M240,320V152a8,8,0,0,0-8-8H136a8,8,0,0,0-8,8V456a24,24,0,0,0,24,24h52.45a32.66,32.66,0,0,0,25.93-12.45,31.65,31.65,0,0,0,5.21-29.05c-1.62-5.18-3.63-11-5.77-17.19-7.91-22.9-18.34-37.07-21.12-69.32A32,32,0,0,0,240,320Z'/></svg>",
    "Analytics": '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><title>ionicons-v5-a</title><path d="M456,128a40,40,0,0,0-37.23,54.6L334.6,266.77a39.86,39.86,0,0,0-29.2,0L245.23,206.6a40,40,0,1,0-74.46,0L70.6,306.77A40,40,0,1,0,93.23,329.4L193.4,229.23a39.86,39.86,0,0,0,29.2,0l60.17,60.17a40,40,0,1,0,74.46,0l84.17-84.17A40,40,0,1,0,456,128Z"/></svg>',
    "Error Trackers": '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><title>ionicons-v5-h</title><path d="M480,304.13v-32H400V215.2c29.42-27.95,32-64.76,32-103.2V96H400v16c0,28-1.86,48.15-9.9,63.84C368,128,324.32,112,256,112c-39.8,0-75.19,7.06-100.43,24.32-14.9,10.19-25.2,24.91-32.7,39.72C114,160.57,112,140.82,112,112V96H80v16c0,37.44,2.59,73.36,32,101.2v58.93H32v32l80-.13c0,19,3.7,53.09,10.39,69.69C96.6,396.76,80,422.31,80,464v16h32V464c0-27.66,9.1-44.71,26.17-61.32C160,448,177,464,240,464V176h32V464c65,0,80-16,101.83-61.32C390.9,419.29,400,436.35,400,464v16h32V464c0-41.68-16.6-67.23-42.39-90.31C396.3,357.09,400,323,400,304Z"/><path d="M256,32c-48.06,0-96,0-96,84,26.12-14,59.35-20,96-20,24.09,0,46.09,2.65,65.39,8,10.75,3,24.66,8.71,30.61,12C352,32,304.06,32,256,32Z"/></svg>',
    "Mix": '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><title>ionicons-v5-i</title><path d="M479.66,268.7l-32-151.81C441.48,83.77,417.68,64,384,64H128c-16.8,0-31,4.69-42.1,13.94s-18.37,22.31-21.58,38.89l-32,151.87A16.65,16.65,0,0,0,32,272V384a64,64,0,0,0,64,64H416a64,64,0,0,0,64-64V272A16.65,16.65,0,0,0,479.66,268.7Zm-384-145.4c0-.1,0-.19,0-.28,3.55-18.43,13.81-27,32.29-27H384c18.61,0,28.87,8.55,32.27,26.91,0,.13.05.26.07.39l26.93,127.88a4,4,0,0,1-3.92,4.82H320a15.92,15.92,0,0,0-16,15.82,48,48,0,1,1-96,0A15.92,15.92,0,0,0,192,256H72.65a4,4,0,0,1-3.92-4.82Z"/><path d="M368,160H144a16,16,0,0,1,0-32H368a16,16,0,0,1,0,32Z"/><path d="M384,224H128a16,16,0,0,1,0-32H384a16,16,0,0,1,0,32Z"/></svg>',
    "OEM": '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><title>ionicons-v5-k</title><path d="M336,0H176a64,64,0,0,0-64,64V448a64,64,0,0,0,64,64H336a64,64,0,0,0,64-64V64A64,64,0,0,0,336,0Zm32,448a32,32,0,0,1-32,32H176a32,32,0,0,1-32-32V64a32,32,0,0,1,32-32h11.35a7.94,7.94,0,0,1,7.3,4.75A32,32,0,0,0,224,56h64a32,32,0,0,0,29.35-19.25,7.94,7.94,0,0,1,7.3-4.75H336a32,32,0,0,1,32,32Z"/><path d="M336,48h0a11.88,11.88,0,0,0-9.53,4.69A48,48,0,0,1,288,72H224a48,48,0,0,1-38.47-19.31A11.88,11.88,0,0,0,176,48h0a16,16,0,0,0-16,16V448a16,16,0,0,0,16,16H336a16,16,0,0,0,16-16V64A16,16,0,0,0,336,48Z"/><path d="M336,0H176a64,64,0,0,0-64,64V448a64,64,0,0,0,64,64H336a64,64,0,0,0,64-64V64A64,64,0,0,0,336,0Zm32,448a32,32,0,0,1-32,32H176a32,32,0,0,1-32-32V64a32,32,0,0,1,32-32h11.35a7.94,7.94,0,0,1,7.3,4.75A32,32,0,0,0,224,56h64a32,32,0,0,0,29.35-19.25,7.94,7.94,0,0,1,7.3-4.75H336a32,32,0,0,1,32,32Z"/></svg>',
    "Social Trackers": '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><title>ionicons-v5-j</title><path d="M336,256c-20.56,0-40.44-9.18-56-25.84-15.13-16.25-24.37-37.92-26-61-1.74-24.62,5.77-47.26,21.14-63.76S312,80,336,80c23.83,0,45.38,9.06,60.7,25.52,15.47,16.62,23,39.22,21.26,63.63h0c-1.67,23.11-10.9,44.77-26,61C376.44,246.82,356.57,256,336,256Zm66-88h0Z"/><path d="M467.83,432H204.18a27.71,27.71,0,0,1-22-10.67,30.22,30.22,0,0,1-5.26-25.79c8.42-33.81,29.28-61.85,60.32-81.08C264.79,297.4,299.86,288,336,288c36.85,0,71,9,98.71,26.05,31.11,19.13,52,47.33,60.38,81.55a30.27,30.27,0,0,1-5.32,25.78A27.68,27.68,0,0,1,467.83,432Z"/><path d="M147,260c-35.19,0-66.13-32.72-69-72.93C76.58,166.47,83,147.42,96,133.45,108.86,119.62,127,112,147,112s38,7.66,50.93,21.57c13.1,14.08,19.5,33.09,18,53.52C213.06,227.29,182.13,260,147,260Z"/><path d="M212.66,291.45c-17.59-8.6-40.42-12.9-65.65-12.9-29.46,0-58.07,7.68-80.57,21.62C40.93,316,23.77,339.05,16.84,366.88a27.39,27.39,0,0,0,4.79,23.36A25.32,25.32,0,0,0,41.72,400h111a8,8,0,0,0,7.87-6.57c.11-.63.25-1.26.41-1.88,8.48-34.06,28.35-62.84,57.71-83.82a8,8,0,0,0-.63-13.39C216.51,293.42,214.71,292.45,212.66,291.45Z"/></svg>',
    "OnePlus": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>OnePlus icon</title><path d="M0 3.74V24h20.26V12.428h-2.256v9.317H2.254V5.995h9.318V3.742zM18.004 0v3.74h-3.758v2.256h3.758v3.758h2.255V5.996H24V3.74h-3.758V0zm-6.45 18.756V8.862H9.562c0 .682-.228 1.189-.577 1.504-.367.297-.91.437-1.556.437h-.245v1.625h2.133v6.31h2.237z"></path></svg>',
    "Xiaomi": '<svg id="xiaomi-svg" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Xiaomi icon</title><path d="M19.96 20a.32.32 0 0 1-.32-.32V4.32a.32.32 0 0 1 .32-.32h3.71a.32.32 0 0 1 .33.32v15.36a.32.32 0 0 1-.33.32zm-6.22 0s-.3-.09-.3-.32v-9.43A2.18 2.18 0 0 0 11.24 8H4.3c-.4 0-.3.3-.3.3v11.38c0 .27-.3.32-.3.32H.33a.32.32 0 0 1-.33-.32V4.32A.32.32 0 0 1 .33 4h12.86a4.28 4.28 0 0 1 4.25 4.27l.01 11.41a.32.32 0 0 1-.32.32zm-6.9 0a.3.3 0 0 1-.3-.3v-9a.3.3 0 0 1 .3-.3h3.77a.3.3 0 0 1 .29.3v9a.3.3 0 0 1-.3.3z"></path></svg>',
    "Huawei": '<svg id="huawei-svg" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Huawei icon</title><path d="M3.67 6.14S1.82 7.91 1.72 9.78v.35c.08 1.51 1.22 2.4 1.22 2.4 1.83 1.79 6.26 4.04 7.3 4.55 0 0 .06.03.1-.01l.02-.04v-.04C7.52 10.8 3.67 6.14 3.67 6.14zM9.65 18.6c-.02-.08-.1-.08-.1-.08l-7.38.26c.8 1.43 2.15 2.53 3.56 2.2.96-.25 3.16-1.78 3.88-2.3.06-.05.04-.09.04-.09zm.08-.78C6.49 15.63.21 12.28.21 12.28c-.15.46-.2.9-.21 1.3v.07c0 1.07.4 1.82.4 1.82.8 1.69 2.34 2.2 2.34 2.2.7.3 1.4.31 1.4.31.12.02 4.4 0 5.54 0 .05 0 .08-.05.08-.05v-.06c0-.03-.03-.05-.03-.05zM9.06 3.19a3.42 3.42 0 00-2.57 3.15v.41c.03.6.16 1.05.16 1.05.66 2.9 3.86 7.65 4.55 8.65.05.05.1.03.1.03a.1.1 0 00.06-.1c1.06-10.6-1.11-13.42-1.11-13.42-.32.02-1.19.23-1.19.23zm8.299 2.27s-.49-1.8-2.44-2.28c0 0-.57-.14-1.17-.22 0 0-2.18 2.81-1.12 13.43.01.07.06.08.06.08.07.03.1-.03.1-.03.72-1.03 3.9-5.76 4.55-8.64 0 0 .36-1.4.02-2.34zm-2.92 13.07s-.07 0-.09.05c0 0-.01.07.03.1.7.51 2.85 2 3.88 2.3 0 0 .16.05.43.06h.14c.69-.02 1.9-.37 3-2.26l-7.4-.25zm7.83-8.41c.14-2.06-1.94-3.97-1.94-3.98 0 0-3.85 4.66-6.67 10.8 0 0-.03.08.02.13l.04.01h.06c1.06-.53 5.46-2.77 7.28-4.54 0 0 1.15-.93 1.21-2.42zm1.52 2.14s-6.28 3.37-9.52 5.55c0 0-.05.04-.03.11 0 0 .03.06.07.06 1.16 0 5.56 0 5.67-.02 0 0 .57-.02 1.27-.29 0 0 1.56-.5 2.37-2.27 0 0 .73-1.45.17-3.14z"></path></svg>',
    "Samsung": '<svg id="samsung-svg" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Samsung icon</title><path d="M19.8166 10.2808l.0459 2.6934h-.023l-.7793-2.6934h-1.2837v3.3925h.8481l-.0458-2.785h.023l.8366 2.785h1.2264v-3.3925zm-16.149 0l-.6418 3.427h.9284l.4699-3.1175h.0229l.4585 3.1174h.9169l-.6304-3.4269zm5.1805 0l-.424 2.6132h-.023l-.424-2.6132H6.5788l-.0688 3.427h.8596l.023-3.0832h.0114l.573 3.0831h.8711l.5731-3.083h.023l.0228 3.083h.8596l-.0802-3.4269zm-7.2664 2.4527c.0343.0802.0229.1949.0114.2522-.0229.1146-.1031.2292-.3324.2292-.2177 0-.3438-.126-.3438-.3095v-.3323H0v.2636c0 .7679.6074.9971 1.2493.9971.6189 0 1.1346-.2178 1.2149-.7794.0458-.298.0114-.4928 0-.5616-.1605-.722-1.467-.9283-1.5588-1.3295-.0114-.0688-.0114-.1375 0-.1834.023-.1146.1032-.2292.3095-.2292.2063 0 .321.126.321.3095v.2063h.8595v-.2407c0-.745-.6762-.8596-1.1576-.8596-.6074 0-1.1117.2063-1.2034.7564-.023.149-.0344.2866.0114.4585.1376.7106 1.364.9169 1.5358 1.3524m11.152 0c.0343.0803.0228.1834.0114.2522-.023.1146-.1032.2292-.3324.2292-.2178 0-.3438-.126-.3438-.3095v-.3323h-.917v.2636c0 .7564.596.9857 1.2379.9857.6189 0 1.1232-.2063 1.2034-.7794.0459-.298.0115-.4814 0-.5616-.1375-.7106-1.4327-.9284-1.5243-1.318-.0115-.0688-.0115-.1376 0-.1835.0229-.1146.1031-.2292.3094-.2292.1948 0 .321.126.321.3095v.2063h.848v-.2407c0-.745-.6647-.8596-1.146-.8596-.6075 0-1.1004.1948-1.192.7564-.023.149-.023.2866.0114.4585.1376.7106 1.341.9054 1.513 1.3524m2.8882.4585c.2407 0 .3094-.1605.3323-.2522.0115-.0343.0115-.0917.0115-.126v-2.533h.871v2.4642c0 .0688 0 .1948-.0114.2292-.0573.6419-.5616.8482-1.192.8482-.6303 0-1.1346-.2063-1.192-.8482 0-.0344-.0114-.1604-.0114-.2292v-2.4642h.871v2.533c0 .0458 0 .0916.0115.126 0 .0917.0688.2522.3095.2522m7.1518-.0344c.2522 0 .3324-.1605.3553-.2522.0115-.0343.0115-.0917.0115-.126v-.4929h-.3553v-.5043H24v.917c0 .0687 0 .1145-.0115.2292-.0573.6303-.596.8481-1.2034.8481-.6075 0-1.1461-.2178-1.2034-.8481-.0115-.1147-.0115-.1605-.0115-.2293v-1.444c0-.0574.0115-.172.0115-.2293.0802-.6419.596-.8482 1.2034-.8482s1.1347.2063 1.2034.8482c.0115.1031.0115.2292.0115.2292v.1146h-.8596v-.1948s0-.0803-.0115-.1261c-.0114-.0802-.0802-.2521-.3438-.2521-.2521 0-.321.1604-.3438.2521-.0115.0458-.0115.1032-.0115.1605v1.5702c0 .0458 0 .0916.0115.126 0 .0917.0917.2522.3323.2522"></path></svg>',
    "Apple": '<svg id="apple-svg" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Apple icon</title><path d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"></path></svg>'
};
const dataOEM = {
    "Xiaomi": [
        "https://api.ad.xiaomi.com",
        "https://app.chat.xiaomi.net",
        "https://data.mistat.xiaomi.com",
        "https://data.mistat.intl.xiaomi.com",
        "https://data.mistat.india.xiaomi.com",
        "https://data.mistat.rus.xiaomi.com",
        "https://sdkconfig.ad.xiaomi.com",
        "https://sdkconfig.ad.intl.xiaomi.com",
        "https://globalapi.ad.xiaomi.com",
        "https://www.cdn.ad.xiaomi.com",
        "https://tracking.miui.com",
        "https://sa.api.intl.miui.com",
        "https://tracking.miui.com",
        "https://tracking.intl.miui.com",
        "https://tracking.india.miui.com",
        "https://tracking.rus.miui.com"
    ],
    "Huawei": [
        "https://metrics.data.hicloud.com",
        "https://metrics1.data.hicloud.com",
        "https://metrics2.data.hicloud.com",
        "https://metrics3.data.hicloud.com",
        "https://metrics4.data.hicloud.com",
        "https://metrics5.data.hicloud.com ",
        "https://logservice.hicloud.com",
        "https://logservice1.hicloud.com",
        "https://metrics-dra.dt.hicloud.com",
        "https://logbak.hicloud.com"
    ],
    "OnePlus": [
        "https://analytics.oneplus.cn",
        "https://click.oneplus.cn",
        "https://click.oneplus.com",
        "https://open.oneplus.net"
    ],
    "Samsung": [
        "https://ad.samsungadhub.com",
        "https://samsungadhub.com",
        "https://samsungads.com",
        "https://smetrics.samsung.com",
        "https://nmetrics.samsung.com",
        "https://samsung-com.112.2o7.net",
        "https://business.samsungusa.com",
        "https://analytics.samsungknox.com",
        "https://bigdata.ssp.samsung.com",
        "https://analytics-api.samsunghealthcn.com",
        "https://config.samsungads.com"
    ],
    "Apple": [
        "https://metrics.apple.com",
        "https://securemetrics.apple.com",
        "https://supportmetrics.apple.com",
        "https://metrics.icloud.com",
        "https://metrics.mzstatic.com"
    ]
}
const data = {
    "Ads": { //Ads
        "Google Ads": [
            "https://pagead2.googlesyndication.com", "https://ads.google.com", "https://adservice.google.com",
            "https://pagead2.googleadservices.com", "https://googleadservices.com"
        ],
        "Media.net": ["https://static.media.net", "https://media.net", "https://adservetx.media.net"],
        "Doubleclick.net": ["https://doubleclick.net/", "https://ad.doubleclick.net/", "https://static.doubleclick.net", "https://m.doubleclick.net",
            "https://mediavisor.doubleclick.net"
        ],
        "FastClick": ["https://fastclick.com", "https://fastclick.net", "https://media.fastclick.net/", "https://cdn.fastclick.net/"],
        "Amazon": ["https://adtago.s3.amazonaws.com", "https://analyticsengine.s3.amazonaws.com",
            "https://advice-ads.s3.amazonaws.com", "https://affiliationjs.s3.amazonaws.com", "https://advertising-api-eu.amazon.com",
            "https://amazonaax.com", "https://amazonclix.com",
            "https://assoc-amazon.com"
        ]
    },
    "Analytics": { //Analytics
        "Google Analytics": ["https://google-analytics.com", "https://ssl.google-analytics.com"],
        "Hotjar": ["https://hotjar.com", "https://static.hotjar.com", "https://api-hotjar.com", "https://hotjar-analytics.com"],
        "MouseFlow": ["https://mouseflow.com/", "https://a.mouseflow.com"],
        "FreshMarketer": ["https://freshmarketer.com/"],
        "Luckyorange": ["https://luckyorange.com", "https://cdn.luckyorange.com", "https://w1.luckyorange.com",
            "https://upload.luckyorange.net", "https://cs.luckyorange.net",
            "https://settings.luckyorange.net"
        ],
        "Stats WP Plugin": ["https://stats.wp.com"]
    },
    "Error Trackers": { //Error tracker
        "Bugsnag": ["https://notify.bugsnag.com", "https://sessions.bugsnag.com", "https://api.bugsnag.com", "https://app.bugsnag.com"],
        "Sentry": ["https://browser.sentry-cdn.com", "https://app.getsentry.com"]
    },
    "Social Trackers": {
        "Facebook": ["https://pixel.facebook.com",
            "https://analytics.facebook.com", "https://ads.facebook.com", "https://an.facebook.com"
        ],
        "Twitter": ["https://ads-twitter.com", "https://static.ads-twitter.com", "https://ads-api.twitter.com", "https://advertising.twitter.com"],
        "LinkedIn": ["https://ads.linkedin.com", "https://analytics.pointdrive.linkedin.com"],
        "Pinterest": ["https://ads.pinterest.com", "https://log.pinterest.com", "https://ads-dev.pinterest.com",
            "https://analytics.pinterest.com", "https://trk.pinterest.com", "https://widgets.pinterest.com"
        ],
        "Reddit": ["https://ads.reddit.com", "https://d.reddit.com", "https://rereddit.com",
            "https://events.redditmedia.com"
        ],
        "YouTube": ["https://ads.youtube.com", "https://youtube.cleverads.vn", "https://analytics-sg.tiktok.com", "https://ads-sg.tiktok.com"],
        "TikTok": ["https://analytics.tiktok.com", "https://ads.tiktok.com"]
    },
    "Mix": {
        "Yahoo": ["https://ads.yahoo.com", "https://global.adserver.yahoo.com", "https://analytics.yahoo.com",
            "https://ads.yap.yahoo.com"
        ],
        "Yandex": ["https://appmetrica.yandex.com", "https://yandexadexchange.net",
            "https://analytics.mobile.yandex.net", "https://extmaps-api.yandex.net",
            "https://adsdk.yandex.ru"
        ]
    }

};

// code here
var sdfsdf = "||"
var gfdg = "^"
var fdgdgf = "! "
console.log(fdgdgf + "OEM")
for (key in dataOEM) {
    console.log(fdgdgf + key)
    var value = dataOEM[key];
    if (Array.isArray(value)) {
        for (let i = 0; i < value.length; i++)
            console.log(sdfsdf + value[i] + gfdg)
    }
    console.log("\n")
}

for (element in data) {
    value = 0
    console.log("\n")
    console.log(fdgdgf + element)
    var category = data[element];
    for (key in category) {
        console.log(fdgdgf + key)
        if (category.hasOwnProperty(key)) {
            var value = category[key];
            if (Array.isArray(value)) {
                for (let i = 0; i < value.length; i++) {
                    console.log(sdfsdf + value[i] + gfdg)
                }

            }
        }
        console.log("\n")
    }
}

need add [] in section array

"FreshMarketer": "https://freshmarketer.com/",

"Stats WP Plugin": "https://stats.wp.com"

"FreshMarketer": ["https://freshmarketer.com/"],
"Stats WP Plugin": ["https://stats.wp.com"]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.