From 0e3812831c0cd7fbffbf97f31091a0a9e50e2952 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 | 14 ++++++++++++++ 1 file changed, 14 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..04939f82 --- /dev/null +++ b/src/bypasses/lootlinks.js @@ -0,0 +1,14 @@ +import BypassDefinition from './BypassDefinition.js' + +export default class Lootlinks extends BypassDefinition { + constructor () { + super() + } + execute () { + this.helpers.ensureDomLoaded(() => { + this.helpers.safelyNavigate(p['PUBLISHER_LINK']) // ignore the error + }) + } +} + +export const matches = ['loot-links.com']