adjust selector for "config on homepage" of USO styles
This commit is contained in:
parent
4e4f0501d2
commit
589cc53ad9
|
@ -277,9 +277,7 @@
|
|||
|
||||
|
||||
function openSettings(countdown = 10e3) {
|
||||
const button = document.querySelector('.advanced_button') ||
|
||||
document.evaluate('//*[not(*) and contains(., "Advanced Style Settings")]',
|
||||
document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
|
||||
const button = document.querySelector('.customize_button');
|
||||
if (button) {
|
||||
button.dispatchEvent(new MouseEvent('click', {bubbles: true}));
|
||||
setTimeout(function pollArea(countdown = 2000) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user