소스 검색

Remove dependency for fingerprint2.min.js

Kristan Kenney 5 년 전
부모
커밋
df7c9deaa0
7개의 변경된 파일0개의 추가작업 그리고 22개의 파일을 삭제
  1. 0 0
      web/js/fingerprint2.min.js
  2. 0 17
      web/templates/header.html
  3. 0 1
      web/templates/login.html
  4. 0 1
      web/templates/login_1.html
  5. 0 1
      web/templates/login_2.html
  6. 0 1
      web/templates/login_a.html
  7. 0 1
      web/templates/scripts.html

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
web/js/fingerprint2.min.js


+ 0 - 17
web/templates/header.html

@@ -20,23 +20,6 @@
     GLOBAL.DB_DBNAME_PREFIX = 'admin_';
     GLOBAL.DB_DBNAME_PREFIX = 'admin_';
     GLOBAL.AJAX_URL = '';
     GLOBAL.AJAX_URL = '';
 
 
-    if (window.requestIdleCallback) {
-        requestIdleCallback(function () {
-            Fingerprint2.get(function (components) {
-                var values = components.map(function (component) { return component.value })
-                var murmur = Fingerprint2.x64hash128(values.join(''), 31);
-                $('#murmur').val(murmur);
-            })
-        })
-    } else {
-        setTimeout(function () {
-                Fingerprint2.get(function (components) {
-                var values = components.map(function (component) { return component.value })
-                var murmur = Fingerprint2.x64hash128(values.join(''), 31);
-                $('#murmur').val(murmur);
-            })
-        }, 500);
-    }
   </script>
   </script>
 </head>
 </head>
 <body class="body-<?=strtolower($TAB)?> lang-<?=$_SESSION['language']?>">
 <body class="body-<?=strtolower($TAB)?> lang-<?=$_SESSION['language']?>">

+ 0 - 1
web/templates/login.html

@@ -52,6 +52,5 @@
             </table>
             </table>
         </center>
         </center>
         <script src="/inc/jquery/jquery-3.5.1.min.js"></script>
         <script src="/inc/jquery/jquery-3.5.1.min.js"></script>
-        <script type="text/javascript" src="/js/fingerprint2.min.js?<?=JS_LATEST_UPDATE?>"></script>
     </body>
     </body>
 </html>
 </html>

+ 0 - 1
web/templates/login_1.html

@@ -59,6 +59,5 @@
             </table>
             </table>
         </center>
         </center>
         <script src="/inc/jquery/jquery-3.5.1.min.js"></script>
         <script src="/inc/jquery/jquery-3.5.1.min.js"></script>
-        <script type="text/javascript" src="/js/fingerprint2.min.js?<?=JS_LATEST_UPDATE?>"></script>
     </body>
     </body>
 </html>
 </html>

+ 0 - 1
web/templates/login_2.html

@@ -57,6 +57,5 @@
             </table>
             </table>
         </center>
         </center>
         <script src="/inc/jquery/jquery-3.5.1.min.js"></script>
         <script src="/inc/jquery/jquery-3.5.1.min.js"></script>
-        <script type="text/javascript" src="/js/fingerprint2.min.js?<?=JS_LATEST_UPDATE?>"></script>
     </body>
     </body>
 </html>
 </html>

+ 0 - 1
web/templates/login_a.html

@@ -62,6 +62,5 @@
             </table>
             </table>
         </center>
         </center>
         <script src="/inc/jquery/jquery-3.5.1.min.js"></script>
         <script src="/inc/jquery/jquery-3.5.1.min.js"></script>
-        <script type="text/javascript" src="/js/fingerprint2.min.js?<?=JS_LATEST_UPDATE?>"></script>
     </body>
     </body>
 </html>
 </html>

+ 0 - 1
web/templates/scripts.html

@@ -8,7 +8,6 @@
   <script type="text/javascript" src="/js/init.js?<?=JS_LATEST_UPDATE?>"></script>
   <script type="text/javascript" src="/js/init.js?<?=JS_LATEST_UPDATE?>"></script>
   <script type="text/javascript" src="/js/i18n.js.php?<?=JS_LATEST_UPDATE?>"></script>
   <script type="text/javascript" src="/js/i18n.js.php?<?=JS_LATEST_UPDATE?>"></script>
   <script type="text/javascript" src="/js/templates.js?<?=JS_LATEST_UPDATE?>"></script>
   <script type="text/javascript" src="/js/templates.js?<?=JS_LATEST_UPDATE?>"></script>
-  <script type="text/javascript" src="/js/fingerprint2.min.js?<?=JS_LATEST_UPDATE?>"></script>
   <script>
   <script>
     $(function() {
     $(function() {
       hover_menu();
       hover_menu();

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.