Remove Stupid Google Lens Drop Zone

This script removes the stupid Google Lens drop zone that appears in the search bar when dragging links (or anything else) on Google search results pages. This feature is an intrusive and unnecessary addition to Google's search experience, and this script aims to remove it.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
Unintendedz
일일 설치수
0
총 설치수
652
평점
15 0 0
버전
0.2
생성
2023-03-11
갱신
2023-04-16
라이선스
WTFPL
동작 사이트

This script uses the MutationObserver API to listen for changes in the DOM of the Google search results page. When a new child node is added to the page, the script checks if it matches the selector div > c-wiz > div.focusSentinel, which is the container for the Google Lens drop zone. If a match is found, the script
removes the parent element's parent element, effectively removing the Google Lens drop zone from the page.

We believe that Google's decision to add this feature to its search results page is foolish and invasive, and we hope that this script helps to improve the search experience for users who share our frustration.

Oh, by the way, this script is entirely generated by ChatGPT, and I only provided the CSS selector. :)