Simple Browser detection in JavaScript (1 Viewer)

A simple method developed in JavaScript to detect browser type and version Browser Info.html <script> // Identify Browsers // By default browsers use misleading information...

A simple method developed in JavaScript to detect browser type and version

Browser Info.html
Kod:
<script>
// Identify Browsers
// By default browsers use misleading information, the solution is specify the version
if (navigator.userAgent.indexOf("Firefox/54") != -1) {alert('Using Firefox v54');}
if (navigator.userAgent.indexOf("rv:11.0") != -1) {alert('Using IE v11');}
if (navigator.userAgent.indexOf("Version/5.1.7") != -1) {alert('Using Safari v5.1.7');}
if (navigator.userAgent.indexOf("Edge/14") != -1) {alert('Using Edge v14');}
if (navigator.userAgent.indexOf("OPR") != -1) {alert('Using Opera 46.0');}
if (navigator.userAgent.indexOf("Chrome/59") != -1) {alert('Using Chrome v59');}
</script>

Download:
https://www.file-up.org/5nm40aywb3k3

Virus Scan:
https://www.virustotal.com/#/file/f...35b034a71ba1bef709443876a2fbd90b7c4/detection
 
💬 SpyHackerz Telegram — Anlık tartışmalar ve duyurular için katıl
Yanıt yazmak için giriş yapmalısınız
Forum özelliklerini kullanmak ve Level 2 üyelik satın almak için hesabınıza giriş yapın.

Users who are viewing this thread

133,270Konular
3,283,634Mesajlar
319,775Kullanıcılar
ejdsSon Üye
Üst Alt