5 posts were split to a new topic: Allowlist Content Limiters Not Working
Is there a CURL command available to allow or block content?
Nevermind. I asked ChatGPT how to click on a button labelled "Hide" and it gave me this javascript code to click on that button on the clients page of the web UI.
// Get all elements with the class "dropdown-item"
var buttons = document.querySelectorAll('.dropdown-item');
// Iterate through each element
buttons.forEach(function(button) {
// Check if the button's text content is "Hide"
if (button.textContent === 'Hide') {
// Simulate a click event on the button
button.click();
}
});
By running this code I'm able to toggle the label "Hide" in the content blocklist. A curl command would be cleaner, but this works.