Greasy Fork is available in English.

SauceNAO 永遠顯示搜尋結果

SauceNAO 永遠顯示搜尋結果 不管相似度如何

// ==UserScript==
// @name         SauceNAO 永遠顯示搜尋結果
// @namespace    https://greasyfork.org/scripts/489460
// @version      1.0
// @description  SauceNAO 永遠顯示搜尋結果 不管相似度如何
// @author       fmnijk
// @match        https://saucenao.com/*
// @icon         https://www.google.com/s2/favicons?domain=saucenao.com
// @grant        none
// @run-at       document-end
// @license      MIT
// ==/UserScript==

(window.onload = function() {
	'use strict'

    if (window.location.href === 'https://saucenao.com/'){
        return false;
    }

	const $ = s => document.querySelector(s);

	function onDomChange(cb) {
		new MutationObserver(() => setTimeout(cb, 50)).observe(document.body, { childList: true });
	}
	function changeCoin() {
        $('#result-hidden-notification').click();
	}
	onDomChange(changeCoin);
    $('#result-hidden-notification').click();

})();