From 92133bb49d70cbe7bbc498b3c9fa5ca7ae07247d Mon Sep 17 00:00:00 2001 From: supernova <76390419+driedpampas@users.noreply.github.com> Date: Wed, 20 Sep 2023 19:44:38 +0300 Subject: [PATCH] port: lkc21.net --- src/bypasses/emulatorgames.js | 2 +- src/bypasses/firefaucet.js | 2 +- src/bypasses/lkc21.js | 14 ++++++++++++++ src/bypasses/racaty.js | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 src/bypasses/lkc21.js diff --git a/src/bypasses/emulatorgames.js b/src/bypasses/emulatorgames.js index 8995a3c5a..7b3cfaf40 100644 --- a/src/bypasses/emulatorgames.js +++ b/src/bypasses/emulatorgames.js @@ -1,6 +1,6 @@ import BypassDefinition from './BypassDefinition.js' -export default class CustomBypass extends BypassDefinition { +export default class Emulatorgames extends BypassDefinition { constructor() { super() // Custom bypass required bases can be set here diff --git a/src/bypasses/firefaucet.js b/src/bypasses/firefaucet.js index f0b99dd34..cf41e3147 100644 --- a/src/bypasses/firefaucet.js +++ b/src/bypasses/firefaucet.js @@ -1,6 +1,6 @@ import BypassDefinition from './BypassDefinition.js' -export default class CustomBypass extends BypassDefinition { +export default class Firefaucet extends BypassDefinition { constructor() { super() // Custom bypass required bases can be set here diff --git a/src/bypasses/lkc21.js b/src/bypasses/lkc21.js new file mode 100644 index 000000000..9d1bdb2f3 --- /dev/null +++ b/src/bypasses/lkc21.js @@ -0,0 +1,14 @@ +import BypassDefinition from './BypassDefinition.js' + +export default class Lck21 extends BypassDefinition { + constructor() { + super() + // Custom bypass required bases can be set here + } + + execute() { + window.setTimeout = f => setTimeout(f, 100) + } +} + +export const matches = ['lkc21.net', 'layarkacaxxi.org'] diff --git a/src/bypasses/racaty.js b/src/bypasses/racaty.js index f98942c65..285ad56ec 100644 --- a/src/bypasses/racaty.js +++ b/src/bypasses/racaty.js @@ -1,6 +1,6 @@ import BypassDefinition from './BypassDefinition.js' -export default class CustomDomainBypass extends BypassDefinition { +export default class Racaty extends BypassDefinition { constructor() { super() // Custom bypass required bases can be set here