1
|
/**
|
2
|
* SPDX-License-Identifier: CC0-1.0
|
3
|
*
|
4
|
* Fix SMS code submission on https://acsv.centrum24.pl/ACS/servlet/ACSAuthoriz
|
5
|
*
|
6
|
* Copyright (C) 2021 Wojtek Kosior <koszko@koszko.org>
|
7
|
*
|
8
|
* This program is free software: you can redistribute it and/or modify
|
9
|
* it under the terms of the CC0 1.0 Universal License as published by
|
10
|
* the Creative Commons Corporation.
|
11
|
*
|
12
|
* This program is distributed in the hope that it will be useful,
|
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
* CC0 1.0 Universal License for more details.
|
16
|
*/
|
17
|
|
18
|
const submit_button = document.getElementById("submit");
|
19
|
submit_button.classList.remove("disabled");
|
20
|
submit_button.removeAttribute("disabled");
|
21
|
|
22
|
console.log(document.querySelectorAll("noscript"));
|
23
|
|
24
|
for (const noscript_element of document.querySelectorAll("noscript"))
|
25
|
noscript_element.remove();
|