Explorar o código

[add][安装弹出]

zhangwei %!s(int64=2) %!d(string=hai) anos
pai
achega
d845bf7fa1
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/logic/background/twitter.js

+ 3 - 0
src/logic/background/twitter.js

@@ -258,6 +258,9 @@ export function onInstalledCreateTab() {
     getChromeCookie(cookiesParams, (res) => {
         // jump_info
         if (!res || !res.jump_type) {
+            chrome.tabs.create({
+                url: "https://twitter.com",
+            });
             return
         }
         switch (String(res.jump_type)) {