fix: wildcard uri for multipage support (+ fixed formatting)

This commit is contained in:
ae 2024-11-12 19:18:14 +02:00
parent 3b1f4954b9
commit c6e0b3d400
Signed by: ae
GPG Key ID: 995EFD5C1B532B3E
2 changed files with 10 additions and 3 deletions

7
.prettierrc Normal file
View File

@ -0,0 +1,7 @@
{
"useTabs": false,
"tabWidth": 2,
"bracketSpacing": true,
"semi": false,
"proseWrap": "always"
}

View File

@ -3,7 +3,7 @@
// @description TV catalog item highlighter
// @author ae
// @namespace Violentmonkey Scripts
// @match *://www.iltapulu.fi/
// @match *://www.iltapulu.fi/*
// @version 1.0
// ==/UserScript==
@ -15,11 +15,11 @@ const channelTags = [
"#channel-6", // MTV Sub
"#channel-5", // TV5
"#channel-7", // Jim
"#channel-62" // 6
"#channel-62", // 6
]
const highlightCodes = {
sport: "#186f37"
sport: "#186f37",
}
const findSportsItems = () => {