We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3f51d7 commit 03476eeCopy full SHA for 03476ee
1 file changed
metasearch-hacks.user.js
@@ -1,6 +1,6 @@
1
// ==UserScript==
2
// @name Hacks for the cute metasearch engine https://github.com/mat-1/metasearch2
3
-// @version 0.2
+// @version 0.3
4
// @downloadURL https://userscripts.codonaft.com/metasearch-hacks.user.js
5
// ==/UserScript==
6
@@ -22,7 +22,7 @@ const images = body.querySelectorAll('div.image-result');
22
if (REDIRECT_ON_FAILURE && q && images.length === 0 && !body.querySelector('div.search-result')) {
23
const categories = params.get('tab') === 'images' ? 'images' : 'general';
24
const newParams = new URLSearchParams({ q, categories });
25
- window.location.replace(`https://codonaft.com/searxng#${params}`);
+ window.location.replace(`https://codonaft.com/searxng#${newParams}`);
26
}
27
28
if (FIX_IMAGES) {
0 commit comments