From eba73ed6bbff0569a345cb192b1558a3f0237d47 Mon Sep 17 00:00:00 2001 From: Faisal Salman Date: Tue, 17 Dec 2024 07:17:03 +0700 Subject: [PATCH] Add more test log --- js/script.js | 2 +- test/index.html | 27 ++++++++++++++++++++++++--- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/js/script.js b/js/script.js index 09cd7bc..a9da2bc 100644 --- a/js/script.js +++ b/js/script.js @@ -99,7 +99,7 @@ $(document) $('#demo-result').get(0).scrollIntoView(); updateDemo(UAParser(qs)); } else { - UAParser().withClientHints().then(function(result) { + (UAParser().withFeatureCheck()).withClientHints().then(function(result) { updateDemo(result); }); } diff --git a/test/index.html b/test/index.html index b235293..79ddb46 100644 --- a/test/index.html +++ b/test/index.html @@ -1,9 +1,30 @@