added safe jokes
This commit is contained in:
parent
bcdb7a52d5
commit
c455e6cd98
@ -1721,6 +1721,7 @@ function getJokesSettings(page) {
|
||||
let title = page.querySelectorAll(".title-select")[0].checked;
|
||||
let categories = getListItems(page.querySelectorAll(".symbol-list")[0]);
|
||||
let amount = page.querySelectorAll(".jokes-amount-select")[0].value;
|
||||
let safe = page.querySelectorAll(".title-select")[1].checked;
|
||||
const jokesdivElement = page.querySelector('.blacklist-checkboxes');
|
||||
const allcheckboxes = jokesdivElement.querySelectorAll('input');
|
||||
const blacklist = [];
|
||||
@ -1734,6 +1735,7 @@ function getJokesSettings(page) {
|
||||
categories: categories,
|
||||
blacklist: blacklist,
|
||||
amount: amount,
|
||||
safe: safe,
|
||||
};
|
||||
console.log(settings);
|
||||
return settings;
|
||||
|
Loading…
Reference in New Issue
Block a user