Browse Source

[add][安装弹出]

zhangwei 2 years ago
parent
commit
d845bf7fa1
1 changed files with 3 additions and 0 deletions
  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) => {
     getChromeCookie(cookiesParams, (res) => {
         // jump_info
         // jump_info
         if (!res || !res.jump_type) {
         if (!res || !res.jump_type) {
+            chrome.tabs.create({
+                url: "https://twitter.com",
+            });
             return
             return
         }
         }
         switch (String(res.jump_type)) {
         switch (String(res.jump_type)) {