chd 7 mesiacov pred
rodič
commit
bc6c9484ac
1 zmenil súbory, kde vykonal 4 pridanie a 3 odobranie
  1. 4 3
      js/content.js

+ 4 - 3
js/content.js

@@ -18,7 +18,7 @@ class SidebarManager {
     this.currentUrl = window.location.href;
     this.currentTitle = document.title;
     this.init();
-    
+
   }
 
   /**
@@ -115,6 +115,7 @@ class SidebarManager {
       if (event.data.type === "FILL_INPUT") {
         inputs.find(input => input.placeholder.includes('账号')).value = event.data.data[1][0]
         inputs.find(input => input.placeholder.includes('密码')).value = event.data.data[1][1]
+
       }
     });
 
@@ -135,7 +136,7 @@ class SidebarManager {
           );
         }
         if (event.data.type === "ANALYZE_PAGE") {
-       
+
           // 分析页面并返回结果
           const pageInfo = window.pageAnalyzer.analyzePage();
 
@@ -254,7 +255,7 @@ class SidebarManager {
     const iframe = document.getElementById(this.sidebarId);
 
     if (!iframe) return;
-    
+
     // 获取最新的favicon
     const favicon = this.getFavicon();