Filter search results containing ALL specified words, supporting word exclusion and minimum sold.
Userscript - Firefox - Chrome.
- automatically hides the products that don't contain ALL of the searched words
- filter by clicking on the button or pressing enter
- fill in the excluded words box then filter
- modify the searched words then filter to refine your search
- leave both search boxes empty then filter to show all results
When you search for multiple words, Shopee will return products that:
- has none of the words
- has some of the words
- has all the words but still is not what you expected
Care was taken to make it efficient so it will have near ZERO performance impact on your searching experience1.
When searching for "cashew nut", the site returns every kind of nut, and also "cashew nut cream" and "cashew nut cookies" With this extension, only items that have both words "cashew" and "nut" will be kept, and you can exclude "cream" and "cookies" as well.
- FP rewrite + eslint
Footnotes
-
A mutation observer ensure that the filtering occurs only at the right moments, and when all items are loaded, the script stops running. ↩