getmarketsettings

This commit is contained in:
Justin 2023-08-08 17:49:31 +08:00 committed by GitHub
parent 9085f91070
commit 88fb037266
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1763,6 +1763,28 @@ function getEconomicSettings(page) {
} }
// market settings
function getMarketSettings(page) {
let title = page.querySelectorAll(".title-select")[0].checked;
let categories = getListItems(page.querySelectorAll(".symbol-list")[0]);
let percent = page.querySelectorAll(".percent-select")[0].checked;
let point = page.querySelectorAll(".point-select")[0].checked;
let no_logos = page.querySelectorAll(".logo-select")[0].checked;
let lohivol = page.querySelectorAll(".lohivol-select")[0].checked;
settings = {
title: title,
categories: categories,
percent: percent,
point: point,
logos: no_logos,
lohivol: lohivol,
};
console.log(settings);
return settings;
}
// jokes settings // jokes settings
function getJokesSettings(page) { function getJokesSettings(page) {