display_anime_names: also appy to company.php
This commit is contained in:
parent
692e073ae7
commit
291fe94aea
|
@ -2,17 +2,20 @@
|
||||||
// @name Display anime names under pictures
|
// @name Display anime names under pictures
|
||||||
// @namespace Violentmonkey Scripts
|
// @namespace Violentmonkey Scripts
|
||||||
// @match https://animebytes.tv/collage.php
|
// @match https://animebytes.tv/collage.php
|
||||||
|
// @match https://animebytes.tv/company.php
|
||||||
// @match https://animebytes.tv/
|
// @match https://animebytes.tv/
|
||||||
// @grant none
|
// @grant none
|
||||||
// @version 1.2
|
// @version 1.3
|
||||||
// @author Lukáš Kucharczyk
|
// @author Lukáš Kucharczyk
|
||||||
// @description Displays anime titles underneath posters on the collage page.
|
// @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
|
// @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
|
// @supportURL https://git.kucharczyk.xyz/lukas/userscripts
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
let url_selectors = {
|
let url_selectors = {
|
||||||
"^(https?://)?animebytes.tv/?$": ".aot_inner",
|
"^(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 selectors_as_array = Object.entries(url_selectors)
|
||||||
let selector = selectors_as_array.filter(([key, value]) => {
|
let selector = selectors_as_array.filter(([key, value]) => {
|
||||||
|
|
Loading…
Reference in New Issue