🔍 Aniyan Search - Script oficial Aniyan.net

Procure facilmente palavras chaves no Aniyan.net

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         🔍 Aniyan Search - Script oficial Aniyan.net
// @name:en      🔍 Aniyan Search - Official script of Aniyan.net
// @namespace    https://aniyan.net/?referral=aniyan_search
// @version      2.3.2
// @description  Procure facilmente palavras chaves no Aniyan.net
// @description:en  Search keywords in Aniyan.net
// @author       dk (dkzerah)
// @match        *://*/*
// @icon         https://www.google.com/s2/favicons?domain=www.aniyan.net
// @grant        none
// @run-at       context-menu
// @supportURL   https://discord.gg/fYeHEywhWW
// @license MIT
// ==/UserScript==

(function() {
    var selection = getSelection();
    var formattedText = "https://aniyan.net/?s=" + selection;
    formattedText = formattedText.replace(/\s/g, "+");
    formattedText = formattedText.replace(/,/g, "%2C");
    formattedText = formattedText.replace(/!/g, "%21");
    window.open(formattedText);;
})();