Ver Fonte

[edit][twitter]

zhangwei há 3 anos atrás
pai
commit
bfb25b69f6
1 ficheiros alterados com 3 adições e 0 exclusões
  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();