zhangwei 3 anni fa
parent
commit
bfb25b69f6
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/entry/content.js

+ 3 - 0
src/entry/content.js

@@ -38,6 +38,9 @@ window.onload = () => {
 };
 
 function init() {
+    if (window.location.href.indexOf('twitter.com') < 0) {
+        return
+    }
     contentTwitterPinLogin(port);
     renderDom(port);
     setIframeRedPacket();