diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..22120f8 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,7 @@ +{ + "useTabs": false, + "tabWidth": 2, + "bracketSpacing": true, + "semi": false, + "proseWrap": "always" +} diff --git a/iltapulu.fi/ip-highlight.js b/iltapulu.fi/ip-highlight.js index 43c5022..d069558 100644 --- a/iltapulu.fi/ip-highlight.js +++ b/iltapulu.fi/ip-highlight.js @@ -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 = () => {