🔍 Aniyan Search - Script oficial Aniyan.net

Procure facilmente palavras chaves no Aniyan.net

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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         🔍 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);;
})();