SauceNAO 永遠顯示搜尋結果

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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();

})();