-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsearch_by_image.min.js
1 lines (1 loc) · 1.09 KB
/
search_by_image.min.js
1
javascript:void%20function(){function%20e(e){const%20t=e.getBoundingClientRect();return%20t.top%3E=0%26%26t.left%3E=0%26%26t.bottom%3C=(window.innerHeight||document.documentElement.clientHeight)%26%26t.right%3C=(window.innerWidth||document.documentElement.clientWidth)}function%20t(e){var%20t=document.createElement(%22template%22);return%20e=e.trim(),t.innerHTML=e,t.content.firstChild}function%20i(t){var%20n=t.iterateNext();return%20n%3Fe(n)%3F(window.open(%22https://www.google.com/searchbyimage%3Fimage_url=%22+n.src),!0):void%20i(t):!1}var%20n=%221.6.1%22;%22undefined%22==typeof%20window.isElementVisible%26%26(window.isElementVisible=e),document.querySelector(%22%23viewimage_version%22)||document.body.appendChild(t('%3Ca%20id=%22viewimage_version%22%20href=%22https://d3vr.github.io/viewimage/%22%20style=%22position:fixed;%20z-index:999;%20top:%200;%20right:0;%22%3E%3Cimg%20src=%22https://d3vr.me/viewimage/version.php%3Fv='+n+'%22%20height=%2230%22%3E%3C/a%3E'));var%20o=document.evaluate('//div[%40data-query]//img[not(contains(%40src,%20%22data:%22))]',document,null,XPathResult.ANY_TYPE,null);i(o)}();