Could be interesting for you…
- NAVIGATE TO → JS-Fiddle
- Paste the following code into the HTML-SECTION of your FIDDLE-Window.
- Run the code
- What do you get?
<div>
<p id="screenSize"></p>
<p id="browser"></p>
<p id="ip"></p>
</div>
<script>
function showUserInfo() {
// Get user's screen size
var screenWidth = screen.width;
var screenHeight = screen.height;
// Get user's browser
var browser = window.navigator.userAgent;
// Get user's IP using a third-party service
fetch('https://api.ipify.org?format=json')
.then(response => response.json())
.then(data => {
var ip = data.ip;
// Construct message
var message = "Screen Size: " + screenWidth + "x" + screenHeight + "\n" +
"Browser: " + browser + "\n" +
"IP: " + ip;
// Show popup with user information
window.alert(message);
})
.catch(error => {
console.error('Error fetching IP:', error);
});
}
// Call the function when the page is fully loaded
document.addEventListener("DOMContentLoaded", function() {
showUserInfo();
});
</script>
The idea behing this → You generate an own database → where you store the footprint of each of your USERS using your website.
With the help of the footprint, you can give every user it’s own ID and identicate the user regarding his FOOTPRINT.
The more data you can add to the footprint → the more accurate you can identify the user → even without logging him into Wix-System.
Adding all these maybe even some AI, which is capable to incpect and analyse the footprints, it could give you almost 100% identification of a user.
The problem → if user changes his footprint and start wearing shoes ![]()
Well—> as long as he/she starting wearing the same shoes → no problem → AI again recognizes her/him as an USER, but wearing different shoes all the time —> you understand the end?
But i am honest → i didn’t test it yet —> just an idea!
