Closed STUAAAAAAAAAART closed 5 months ago
I'll look into this once I finish working on another feature.
Adding a rule to support this was surprisingly simple... but there is a problem.
If we click the button to load more images, they slip through the rule and show up anyways:
Something similar happens when the "Images" section doesn't show up in the first page (before auto-loading new content.)
This seems to be an issue with the extension currently, where the ability to detect dynamic content can be hit or miss sometimes (e.g. #446).
This is not a trivial problem to solve (at least I think), but I can tell that is something we are aware of.
We can use pagerHandlers
to extract search results from dynamically added elements.
https://github.com/iorate/ublacklist/blob/4a9a5e0d11a07b26f0aecc87586628bdb3754381/src/scripts/search-engines/google-desktop.ts#L469-L489
Oh wow!
Not going to lie, I hadn't yet deciphered what pageHandlers
were used for. 😅
This is cool! I was trying to fix this issue right now, later this day I'll look into it.
Here's the PR solving this issue #467
:)
:tada: This issue has been resolved in version 8.7.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Expected Behavior
image suggestions box (not the image search section, that's working) also getting filtered and blacklist items hidden in there
Actual Behavior
image suggestions box not being filtered in the "all" section of google search
sites in that box exist in the filter list
Steps to Reproduce the Problem
*://*.prompthunt.com/*
pixar jean baptiste
(i know that's not how jon batiste's name spelt, i'm going off memory and couldn't recall)
i'm not sure of other terms that would produce that scenario as well, but that search result seems to be consistent at the moment
Specifications
any other comments
it's google's loosening grip on quality and abstracting away user-sided control that i have to resort to using this extension. thanks for making it work for the most part