From 291fe94aea82c17a5aabc2f1c31c5ef4583f71b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sun, 9 Oct 2022 10:58:18 +0200 Subject: [PATCH] display_anime_names: also appy to company.php --- animebytes_display_anime_names/display_anime_names.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/animebytes_display_anime_names/display_anime_names.js b/animebytes_display_anime_names/display_anime_names.js index e4b31f1..458ec6f 100644 --- a/animebytes_display_anime_names/display_anime_names.js +++ b/animebytes_display_anime_names/display_anime_names.js @@ -2,17 +2,20 @@ // @name Display anime names under pictures // @namespace Violentmonkey Scripts // @match https://animebytes.tv/collage.php +// @match https://animebytes.tv/company.php // @match https://animebytes.tv/ // @grant none -// @version 1.2 +// @version 1.3 // @author Lukáš Kucharczyk // @description Displays anime titles underneath posters on the collage page. // @downloadURL https://git.kucharczyk.xyz/lukas/userscripts/raw/branch/main/animebytes_display_anime_names/display_anime_names.js +// @updateURL https://git.kucharczyk.xyz/lukas/userscripts/raw/branch/main/animebytes_display_anime_names/display_anime_names.js // @supportURL https://git.kucharczyk.xyz/lukas/userscripts // ==/UserScript== let url_selectors = { "^(https?://)?animebytes.tv/?$": ".aot_inner", - "^(https?://)?animebytes.tv/collage.php": "#collage_table tbody tr td" + "^(https?://)?animebytes.tv/collage.php": "#collage_table tbody tr td", + "^(https?://)?animebytes.tv/company.php": "#collage_table tbody tr td" } let selectors_as_array = Object.entries(url_selectors) let selector = selectors_as_array.filter(([key, value]) => {