aboutsummaryrefslogtreecommitdiff
path: root/content/scentrum24_santander_3d-secure
diff options
context:
space:
mode:
authorjahoti <jahoti@tilde.team>2021-08-15 00:00:00 +0000
committerjahoti <jahoti@tilde.team>2021-08-15 00:00:00 +0000
commitd104aaf3ebcddfbda495bdfe3ba3a905f75b936f (patch)
treef617204baeb4919cd1bad2cf3e302acf3ef7116f /content/scentrum24_santander_3d-secure
parent428c474c4c71ef4c7961070d4246017d15aa0c0c (diff)
downloadhaketilo-fixes-demo-d104aaf3ebcddfbda495bdfe3ba3a905f75b936f.tar.gz
haketilo-fixes-demo-d104aaf3ebcddfbda495bdfe3ba3a905f75b936f.zip
Port existing fixes from hachette_fixes_tmp to Hydrilla format
Diffstat (limited to 'content/scentrum24_santander_3d-secure')
-rw-r--r--content/scentrum24_santander_3d-secure/centrum24_santander_3d-secure.js14
-rw-r--r--content/scentrum24_santander_3d-secure/index.json6
2 files changed, 20 insertions, 0 deletions
diff --git a/content/scentrum24_santander_3d-secure/centrum24_santander_3d-secure.js b/content/scentrum24_santander_3d-secure/centrum24_santander_3d-secure.js
new file mode 100644
index 0000000..28fcdc5
--- /dev/null
+++ b/content/scentrum24_santander_3d-secure/centrum24_santander_3d-secure.js
@@ -0,0 +1,14 @@
+/**
+ * Copyright 2021 Wojtek Kosior
+ *
+ * Available under the terms of Creative Commons Zero.
+ */
+
+const submit_button = document.getElementById("submit");
+submit_button.classList.remove("disabled");
+submit_button.removeAttribute("disabled");
+
+console.log(document.querySelectorAll(".noscript"));
+
+for (const noscript_element of document.querySelectorAll(".noscript"))
+ noscript_element.remove();
diff --git a/content/scentrum24_santander_3d-secure/index.json b/content/scentrum24_santander_3d-secure/index.json
new file mode 100644
index 0000000..eca1bba
--- /dev/null
+++ b/content/scentrum24_santander_3d-secure/index.json
@@ -0,0 +1,6 @@
+{
+"type" : "script",
+"name" : "centrum24 Santander 3D-Secure",
+"sha256" : "b3f76e437c48bf5567165e224c8a7fed0fce7a93706302968614b2225bf03277",
+"location" : "centrum24_santander_3d-secure.js"
+} \ No newline at end of file