This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "Anikoto Provider", | |
| "compatible": true, | |
| "pluginType": "provider", | |
| "pluginProvider": "Standard", | |
| "contentProvider": "Anikoto", | |
| "scriptUrl": "https://gist.githubusercontent.com/DeenoSins/17d67a8fd168a8192260cebbb500a05e/raw/faf2e8b71b9fa4ba68a17daa168a2fa6beebba80/anikoto-script.js", | |
| "iconUrl": "https://www.anikoto.cz/favicon.ico", | |
| "version": "1.0.0", | |
| "language": "Czech", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Mojuru Anikoto.cz Plugin Script | |
| */ | |
| const AnikotoPlugin = { | |
| // 1. SEARCH FUNCTION | |
| async search(query) { | |
| try { | |
| // This encodes your search text so spaces don't break the web link | |
| const searchUrl = `https://www.anikoto.cz/hledat?q=${encodeURIComponent(query)}`; |