Skip to content

Commit

Permalink
Update searchJumper.user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hoothin committed Oct 6, 2024
1 parent 9e54ee4 commit 2770b05
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion searchJumper.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -16972,7 +16972,13 @@
if (searchData.prefConfig.firstRun && (ext || storage.supportCrossSave())) {
searchData.prefConfig.firstRun = false;
storage.setItem("searchData", searchData);
_GM_openInTab(firstRunPage, {active: true, insert: true});
setTimeout(() => {
storage.getItem("searchData", data => {
if (data.prefConfig.firstRun === false) {
_GM_openInTab(firstRunPage, {active: true, insert: true});
}
});
}, 100);
}
//旧版兼容
if (typeof searchData.prefConfig.customSize === "undefined") {
Expand Down

0 comments on commit 2770b05

Please sign in to comment.