Add settings configuration, not using it yet

This commit is contained in:
idk
2019-02-07 17:20:36 -05:00
parent aa7fb8137a
commit 9a9d4e7336

View File

@@ -13,10 +13,10 @@ function storeSettings() {
const textboxes = document.querySelectorAll(".proxy-options [type=text]");
for (let item of textboxes) {
if (item.getAttribute("data") == "host") {
proxy_host.push(item.getAttribute("value"));
proxy_host = item.getAttribute("value");
}
}
return proxy_value;
return proxy_host;
}
function getPort() {
@@ -24,10 +24,10 @@ function storeSettings() {
const textboxes = document.querySelectorAll(".proxy-options [type=text]");
for (let item of textboxes) {
if (item.getAttribute("data") == "port") {
proxy_port.push(item.getAttribute("value"));
proxy_port = item.getAttribute("value");
}
}
return proxy_value;
return proxy_port;
}
const proxy_scheme = getSince();