// ==UserScript== // @name SearX Proxified Image Source // @namespace Crus // @version 0.2 // @description changes original href link to proxified // @author NotYou // @include *searx* // @grant none // @run-at document-body // @require https://code.jquery.com/jquery-3.3.1.min.js // @license GPLv3 // @license-link https://www.gnu.org/licenses/gpl-3.0.txt // @downloadURL none // ==/UserScript== // SCRIPT WORKS ONLY FOR SEARX VERSION 1.0.0 AND LOWER $('.img-thumbnail').each(function() { let src = $(this).attr('src'); $(this).parents('a').attr('href', src); }) $('.image-thumbnail').each(function() { let src = $(this).attr('src'); $(this).parents('a').attr('href', src); }) $('.image_thumbnail').each(function() { let src = $(this).attr('src'); $(this).parents('a').attr('href', src); })