diff --git a/custom_dns.php b/custom_dns.php index 0e82ec61..bc49dbf5 100644 --- a/custom_dns.php +++ b/custom_dns.php @@ -30,11 +30,11 @@
- +
- +
diff --git a/groups-adlists.php b/groups-adlists.php index 71813152..3cf43cb4 100644 --- a/groups-adlists.php +++ b/groups-adlists.php @@ -28,7 +28,7 @@
- +
diff --git a/groups-clients.php b/groups-clients.php index c152b991..a47627d5 100644 --- a/groups-clients.php +++ b/groups-clients.php @@ -34,7 +34,7 @@
- +
diff --git a/groups-domains.php b/groups-domains.php index 35852a9f..cce31f3c 100644 --- a/groups-domains.php +++ b/groups-domains.php @@ -28,7 +28,7 @@
- +
diff --git a/list.php b/list.php index 3f24c07c..f58cb773 100644 --- a/list.php +++ b/list.php @@ -37,7 +37,7 @@ else
- +
diff --git a/queryads.php b/queryads.php index 3c14765b..62ea890b 100644 --- a/queryads.php +++ b/queryads.php @@ -13,7 +13,7 @@
- + diff --git a/scripts/pi-hole/js/customdns.js b/scripts/pi-hole/js/customdns.js index c2f2a0ff..248eaa58 100644 --- a/scripts/pi-hole/js/customdns.js +++ b/scripts/pi-hole/js/customdns.js @@ -62,6 +62,12 @@ $(document).ready(function() { $(".deleteCustomDNS").on("click", deleteCustomDNS); } }); + // Disable autocorrect in the search box + var input = document.querySelector("input[type=search]"); + input.setAttribute("autocomplete", "off"); + input.setAttribute("autocorrect", "off"); + input.setAttribute("autocapitalize", "off"); + input.setAttribute("spellcheck", false); }); function addCustomDNS() { diff --git a/scripts/pi-hole/js/groups-adlists.js b/scripts/pi-hole/js/groups-adlists.js index 4f04136d..9a0f98f9 100644 --- a/scripts/pi-hole/js/groups-adlists.js +++ b/scripts/pi-hole/js/groups-adlists.js @@ -96,6 +96,12 @@ $(document).ready(function() { $("#ip-custom").val(""); $("#ip-custom").prop("disabled", $("#select option:selected").val() !== "custom"); }); + // Disable autocorrect in the search box + var input = document.querySelector("input[type=search]"); + input.setAttribute("autocomplete", "off"); + input.setAttribute("autocorrect", "off"); + input.setAttribute("autocapitalize", "off"); + input.setAttribute("spellcheck", false); }); function initTable() { diff --git a/scripts/pi-hole/js/groups-clients.js b/scripts/pi-hole/js/groups-clients.js index c95cc105..ef0200a8 100644 --- a/scripts/pi-hole/js/groups-clients.js +++ b/scripts/pi-hole/js/groups-clients.js @@ -125,6 +125,12 @@ $(document).ready(function() { $("#ip-custom").val(""); $("#ip-custom").prop("disabled", $("#select option:selected").val() !== "custom"); }); + // Disable autocorrect in the search box + var input = document.querySelector("input[type=search]"); + input.setAttribute("autocomplete", "off"); + input.setAttribute("autocorrect", "off"); + input.setAttribute("autocapitalize", "off"); + input.setAttribute("spellcheck", false); }); function initTable() { diff --git a/scripts/pi-hole/js/groups-domains.js b/scripts/pi-hole/js/groups-domains.js index e02639a8..019dbcdd 100644 --- a/scripts/pi-hole/js/groups-domains.js +++ b/scripts/pi-hole/js/groups-domains.js @@ -96,6 +96,12 @@ $(document).ready(function() { $("#ip-custom").val(""); $("#ip-custom").prop("disabled", $("#select option:selected").val() !== "custom"); }); + // Disable autocorrect in the search box + var input = document.querySelector("input[type=search]"); + input.setAttribute("autocomplete", "off"); + input.setAttribute("autocorrect", "off"); + input.setAttribute("autocapitalize", "off"); + input.setAttribute("spellcheck", false); }); function initTable() { diff --git a/scripts/pi-hole/js/network.js b/scripts/pi-hole/js/network.js index 2320dfcd..eaba2450 100644 --- a/scripts/pi-hole/js/network.js +++ b/scripts/pi-hole/js/network.js @@ -190,4 +190,10 @@ $(document).ready(function() { } ] }); + // Disable autocorrect in the search box + var input = document.querySelector("input[type=search]"); + input.setAttribute("autocomplete", "off"); + input.setAttribute("autocorrect", "off"); + input.setAttribute("autocapitalize", "off"); + input.setAttribute("spellcheck", false); }); diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index 1422e1b4..06952529 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -439,4 +439,10 @@ $(document).ready(function() { tableApi.search("").draw(); $("#resetButton").hide(); }); + // Disable autocorrect in the search box + var input = document.querySelector("input[type=search]"); + input.setAttribute("autocomplete", "off"); + input.setAttribute("autocorrect", "off"); + input.setAttribute("autocapitalize", "off"); + input.setAttribute("spellcheck", false); }); diff --git a/scripts/pi-hole/js/settings.js b/scripts/pi-hole/js/settings.js index d914588a..4d310865 100644 --- a/scripts/pi-hole/js/settings.js +++ b/scripts/pi-hole/js/settings.js @@ -258,4 +258,11 @@ $(document).ready(function() { alInfo.hide(); }); } + + // Disable autocorrect in the search box + var input = document.querySelector("input[type=search]"); + input.setAttribute("autocomplete", "off"); + input.setAttribute("autocorrect", "off"); + input.setAttribute("autocapitalize", "off"); + input.setAttribute("spellcheck", false); }); diff --git a/settings.php b/settings.php index 27ce26b1..328f685b 100644 --- a/settings.php +++ b/settings.php @@ -291,7 +291,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists"
- +
@@ -412,7 +412,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists"
From
- disabled>
@@ -422,7 +422,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists"
To
- disabled>
@@ -435,7 +435,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists"
Router
- disabled>
@@ -471,7 +471,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists"
Lease time in hours
- disabled> @@ -636,9 +636,9 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists" - - - + + +
- value="">
@@ -751,7 +751,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists" checked>
- value="">
@@ -764,7 +764,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists" checked>
- value="">
@@ -773,7 +773,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists" checked>
- value="">
@@ -889,10 +889,10 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists"
- value=""> - value="">
@@ -946,7 +946,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists"
- @@ -955,7 +955,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists"
- @@ -1027,7 +1027,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "blocklists"

Administrator Email Address

-