您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Search with google image again cause fuck google lens
当前为
- // ==UserScript==
- // @name Search with google image fix
- // @namespace http://tampermonkey.net/
- // @version 1.0
- // @description Search with google image again cause fuck google lens
- // @author You
- // @require http://code.jquery.com/jquery-3.4.1.min.js
- // @match http://*/*
- // @match https://*/*
- // @grant none
- // ==/UserScript==
- (function() {
- $(document).click(function(event) {
- if ($(event.target).prop("tagName").toUpperCase() == "IMG"){
- if (window.event.altKey){
- var src = "https://www.google.com/searchbyimage?image_url=" + $(event.target).attr("src");
- window.open(src);
- }
- }
- });
- })();