From 4360ce079ba7295de958545e258644434c8bd903 Mon Sep 17 00:00:00 2001 From: supernova <76390419+driedpampas@users.noreply.github.com> Date: Sun, 15 Oct 2023 15:10:33 +0300 Subject: [PATCH] fix: letsboost --- src/bypasses/letsboost.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bypasses/letsboost.js b/src/bypasses/letsboost.js index f5ae3b4d..1973bc3d 100644 --- a/src/bypasses/letsboost.js +++ b/src/bypasses/letsboost.js @@ -7,9 +7,11 @@ export default class Letsboost extends BypassDefinition { execute() { this.helpers.insertInfoBox("If nothing happens in a few seconds, the bypass couldn't be executed. Please disable your ad blocker and refresh the page. Click OK to continue."); - const jsonDat = JSON.parse(window.stepDat); - const url = jsonDat[jsonDat.length-1]["url"]; - this.helpers.safelyNavigate(url); + this.helpers.setInterval(() => { + const jsonDat = JSON.parse(window.stepDat); + const url = jsonDat[jsonDat.length-1]["url"]; + this.helpers.safelyNavigate(url); + }, 1000); } }