浏览器信息监测!功能编写。


尊敬的用户您好:本站只检测用户使用设备并不存储只云端!您可以关注本站并收藏!感谢您的喜欢和支持!
<script src="https://www.xladmin.com/huoqusuoyinjs/browser.js";></script>

    
    <div class="wrapper">
        <div class="container">
            <div class="module">
                <script>
                    var info = browser();
                    if(info.device!='Mobile'){
                        document.writeln('<div class="code">'+navigator.userAgent+'</div>\
                        <table>\
                            <thead>\
                                <tr>\
                                    <th>浏览器</th>\
                                    <th>版本</th>\
                                    <th>内核</th>\
                                    <th>操作系统</th>\
                                    <th>设备</th>\
                                    <th>语言</th>\
                                </tr>\
                            </thead>\
                            <tbody>\
                                <tr>\
                                    <td>'+info.browser+'</td>\
                                    <td>'+info.version+'</td>\
                                    <td>'+info.engine+'</td>\
                                    <td>'+info.system+' '+info.systemVersion+'</td>\
                                    <td>'+info.device+'</td>\
                                    <td>'+info.language+'</td>\
                                </tr>\
                            </tbody>\
                        </table>\
                        <div class="code">'+JSON.stringify(info)+'</div>');
                    }else{
                        document.writeln('<div class="code">'+navigator.userAgent+'</div>\
                        <table>\
                            <thead>\
                                <tr>\
                                    <th>浏览器</th>\
                                    <th>版本</th>\
                                    <th>内核</th>\
                                </tr>\
                            </thead>\
                            <tbody>\
                                <tr>\
                                    <td>'+info.browser+'</td>\
                                    <td>'+info.version+'</td>\
                                    <td>'+info.engine+'</td>\
                                </tr>\
                            </tbody>\
                        </table>\
                        <table>\
                            <thead>\
                                <tr>\
                                    <th>操作系统</th>\
                                    <th>设备</th>\
                                    <th>语言</th>\
                                </tr>\
                            </thead>\
                            <tbody>\
                                <tr>\
                                    <td>'+info.system+' '+info.systemVersion+'</td>\
                                    <td>'+info.device+'</td>\
                                    <td>'+info.language+'</td>\
                                </tr>\
                            </tbody>\
                        </table>\
                        <div class="code">'+JSON.stringify(info)+'</div>');
                    }
                </script>

<!-- 归属地编写-->

声明:GhostKylin‘S BLOG|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - 浏览器信息监测!功能编写。


你好!世界!XladminShell箱子仅供个人学习使用务必遵守《网络安全法》