Explorar el Código

[add][安装弹出]

zhangwei hace 2 años
padre
commit
d845bf7fa1
Se han modificado 1 ficheros con 3 adiciones y 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)) {