From 326389a33720e1323e3b1e874ec96db9f2d27ea8 Mon Sep 17 00:00:00 2001 From: Harry Nguyen Date: Mon, 29 Jul 2024 19:04:27 +0700 Subject: [PATCH] Added forward on site ps4linux.com --- src/bypasses/ps4linux.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/bypasses/ps4linux.js diff --git a/src/bypasses/ps4linux.js b/src/bypasses/ps4linux.js new file mode 100644 index 00000000..786cec0c --- /dev/null +++ b/src/bypasses/ps4linux.js @@ -0,0 +1,17 @@ +import BypassDefinition from './BypassDefinition.js' + +export default class PS4Linux extends BypassDefinition { + constructor() { + super() + this.ensure_dom = true + } + + execute() { + const targetURL = document.querySelector('#skipaft > a:nth-child(1)')?.href + if (targetURL) { + this.helpers.safelyNavigate(targetURL) + } + } +} + +export const matches = ['ps4linux.com']