Sorts Google Lens "Exact matches" results with a dropdown.
< 脚本 Google Lens Exact Match Sorter 的反馈
Also, after sorting can you blur() the select? because after choosing a option in select and pressing page down or page change the option to first or last which is kinda annoying.
in parseSize function if the parts got formatted number like "3,840" it just parses to 3 instead if 3840. You might not encountered this as this may vary from region to region. We can fix this by doing parts[0].replace(/\D/g, '') and parts[1].replace(/\D/g, ''). Great script btw, thank you!