itemDB Fetch Lib

Fetches something from itemDB, handling authentication issues arising from the March 2026 API update.

Tento skript by neměl být instalován přímo. Jedná se o knihovnu, kterou by měly jiné skripty využívat pomocí meta příkazu // @require https://update.greasyfork.org/scripts/567036/1759045/itemDB%20Fetch%20Lib.js

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

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

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!)

Autor
saahphire
Verze
0.0.1.20260221203130
Vytvořeno
21. 02. 2026
Aktualizováno
21. 02. 2026
Size
4,7 KB
Licence
neuvedeno

This is not a script and does nothing on its own. It was created to be @required by userscripts. This allows an userscript to send a query to itemDB, showing an error message if the user is unauthenticated. To use it, asynchronously call the function fetchItemDb(url, scriptName), using the URL you would use for a fetch (example: https://itemdb.com.br/api/v1/items/negg) as url, and your script's name for UI purposes in case authorization fails.