From e030454527082d2fcc3c8b86c17d346bf9f54e19 Mon Sep 17 00:00:00 2001 From: Bayu Satiyo Date: Fri, 8 Dec 2023 14:49:05 +0700 Subject: [PATCH] Add bypass for loot-links.com Fix FastForwardTeam/FastForward#1274 Signed-off-by: Bayu Satiyo --- src/bypasses/lootlinks.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/bypasses/lootlinks.js diff --git a/src/bypasses/lootlinks.js b/src/bypasses/lootlinks.js new file mode 100644 index 00000000..0a1808c5 --- /dev/null +++ b/src/bypasses/lootlinks.js @@ -0,0 +1,13 @@ +import BypassDefinition from './BypassDefinition.js' + +export default class Lootlinks extends BypassDefinition { + constructor () { + super() + this.ensure_dom = true + } + execute () { + this.helpers.safelyNavigate(p['PUBLISHER_LINK']) // ignore the error + } +} + +export const matches = ['loot-links.com']