Explorar o código

[edit][twitter]

zhangwei %!s(int64=3) %!d(string=hai) anos
pai
achega
bfb25b69f6
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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();