🎲 سورس کد دریافت IP کاربر :
<div id="systemInfo"></div>
<script>
(async function() {
try {
const response = await fetch('https://api. ipify .org?format =json');
const data = await response.json();
document.getElementById('systemInfo').innerHTML = IP Address: ${data.ip};
} catch (error) {
console.error('Error fetching IP address:', error);
}
})();
</script>
#درسمن_پوینت #جاوااسکریپت #برنامه_نویسی
🆔️ @darsmancom
💙 www.darsman.com