From ad185e0d0d2bd10c331992c6e0534b83e60651d9 Mon Sep 17 00:00:00 2001 From: Alex Fisher <92438650+afisher3578@users.noreply.github.com> Date: Wed, 10 Jan 2024 08:18:28 -0500 Subject: [PATCH] Fix Kraken TOS declaration (#1258) fix kraken tos declaration --- declarations/Kraken.history.json | 13 +++++++++++++ declarations/Kraken.json | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 declarations/Kraken.history.json diff --git a/declarations/Kraken.history.json b/declarations/Kraken.history.json new file mode 100644 index 00000000..5b495c64 --- /dev/null +++ b/declarations/Kraken.history.json @@ -0,0 +1,13 @@ +{ + "Terms of Service": [ + { + "fetch": "https://www.kraken.com/en-us/legal#complete-tos", + "select": { + "startBefore": "#complete-tos", + "endBefore": "#margin-disclosure-statement" + }, + "executeClientScripts": true, + "validUntil": "2023-11-01T19:51:08Z" + } + ] +} diff --git a/declarations/Kraken.json b/declarations/Kraken.json index 391e1912..07801b6e 100644 --- a/declarations/Kraken.json +++ b/declarations/Kraken.json @@ -4,8 +4,8 @@ "Terms of Service": { "fetch": "https://www.kraken.com/en-us/legal#complete-tos", "select": { - "startBefore": "#complete-tos", - "endBefore": "#margin-disclosure-statement" + "startAfter": ".kraken-header", + "endBefore": ".kraken-footer" }, "executeClientScripts": true },