Browse Source

[add][安装弹出]

zhangwei 2 năm trước cách đây
mục cha
commit
d845bf7fa1
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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)) {