From 98e85d8878b988dc810ca9215787d43359a821aa Mon Sep 17 00:00:00 2001 From: supernova <76390419+driedpampas@users.noreply.github.com> Date: Sat, 14 Oct 2023 18:20:36 +0300 Subject: [PATCH] fix: letsboost --- src/bypasses/letsboost.js | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/bypasses/letsboost.js b/src/bypasses/letsboost.js index f0e3d73e..dd2ee1e1 100644 --- a/src/bypasses/letsboost.js +++ b/src/bypasses/letsboost.js @@ -7,17 +7,10 @@ export default class Letsboost extends BypassDefinition { } execute() { - const isChromeBasedBrowser = /Chrome/.test(navigator.userAgent); - if (isChromeBasedBrowser) { - this.helpers.insertInfoBox("If nothing happens, disable your ad blocker and refresh the page."); - } - try { - const jsonDat = JSON.parse(window.stepDat); - const url = jsonDat[jsonDat.length-1]["url"]; - this.helpers.safelyNavigate(url); - } catch (error) { - this.helpers.insertInfoBox("We couldn't execute the bypass. Disable your ad blocker and refresh the page."); - } + const jsonDat = JSON.parse(window.stepDat); + const url = jsonDat[jsonDat.length-1]["url"]; + this.helpers.safelyNavigate(url); + this.helpers.insertInfoBox("If nothing happens disable your ad blocker and refresh the page."); } }