fix: wildcard uri for multipage support (+ fixed formatting)
This commit is contained in:
parent
3b1f4954b9
commit
c6e0b3d400
7
.prettierrc
Normal file
7
.prettierrc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"useTabs": false,
|
||||||
|
"tabWidth": 2,
|
||||||
|
"bracketSpacing": true,
|
||||||
|
"semi": false,
|
||||||
|
"proseWrap": "always"
|
||||||
|
}
|
@ -3,7 +3,7 @@
|
|||||||
// @description TV catalog item highlighter
|
// @description TV catalog item highlighter
|
||||||
// @author ae
|
// @author ae
|
||||||
// @namespace Violentmonkey Scripts
|
// @namespace Violentmonkey Scripts
|
||||||
// @match *://www.iltapulu.fi/
|
// @match *://www.iltapulu.fi/*
|
||||||
// @version 1.0
|
// @version 1.0
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
@ -15,11 +15,11 @@ const channelTags = [
|
|||||||
"#channel-6", // MTV Sub
|
"#channel-6", // MTV Sub
|
||||||
"#channel-5", // TV5
|
"#channel-5", // TV5
|
||||||
"#channel-7", // Jim
|
"#channel-7", // Jim
|
||||||
"#channel-62" // 6
|
"#channel-62", // 6
|
||||||
]
|
]
|
||||||
|
|
||||||
const highlightCodes = {
|
const highlightCodes = {
|
||||||
sport: "#186f37"
|
sport: "#186f37",
|
||||||
}
|
}
|
||||||
|
|
||||||
const findSportsItems = () => {
|
const findSportsItems = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user