{"ScriptPreparationCode":"const a = \u0022/shorts/C0DLmWfdLGQ\u0022;\r\n\r\nfunction isVideoPageR(type) {\r\n const types = new RegExp(\u0022/\u0022 \u002B (type || \u0022(watch|short)\u0022));\r\n return types.test(a);\r\n}\r\nfunction isVideoPage(type) {\r\n \tconst types = type ? [type] : [\u0022watch\u0022, \u0022short\u0022];\r\n return types.some((type) =\u003E a.startsWith(\u0022/\u0022 \u002B type));\r\n}","TestCases":[{"Name":"Regex","Code":"isVideoPageR()","IsDeferred":false},{"Name":"Array","Code":"isVideoPage()","IsDeferred":false}]}