Welcome to Moriarty

Login

Auto-filter

<script>

 document.addEventListener("DOMContentLoaded", function () {

   const style = document.createElement("style");

   style.innerHTML = `

     button[aria-label="Update filters"] {

       display: none !important;

     }

   `;

   document.head.appendChild(style);

   const observer = new MutationObserver(() => {
     const options = document.querySelectorAll('[role="option"]:not([data-handled])');

     options.forEach(option => {
       option.setAttribute('data-handled', 'true');

       option.addEventListener('click', () => {
         setTimeout(() => {
           const updateBtn = document.querySelector('button[aria-label="Update filters"]');
           if (updateBtn) updateBtn.click();
         }, 300);
       });
     });
   });

   observer.observe(document.body, { childList: true, subtree: true });
 });
</script>