From 0e4e3dcbcc9dd9ddd73cc38805b36e11d450114d Mon Sep 17 00:00:00 2001 From: Jonathan Alligood Date: Thu, 5 Sep 2019 13:26:17 -0500 Subject: [PATCH 1/2] Add new ad chunk definition --- extension/lib.js | 1 + 1 file changed, 1 insertion(+) diff --git a/extension/lib.js b/extension/lib.js index 03dd75f..8c38f70 100644 --- a/extension/lib.js +++ b/extension/lib.js @@ -28,6 +28,7 @@ function getFuncsForInjection (usePerformanceFix) { textStr = textStr.replace(/#EXT-X-SCTE35-OUT(.|\s)*#EXT-X-SCTE35-IN/gmi, ''); textStr = textStr.replace(/#EXT-X-SCTE35-OUT(.|\s)*/gmi, ''); + textStr = textStr.replace(/#EXTINF:2.00[12](.|\s)*/gmi, ''); textStr = textStr.replace(/#EXT-X-SCTE35-IN/gi, ''); textStr = textStr.replace(/#EXT-X-DISCONTINUITY/gi, ''); textStr = textStr.replace(/#EXT-X-DATERANGE:ID="stitched-ad.*/gi, ''); From f626b97830b93bcc78a407d85307386dead03dc0 Mon Sep 17 00:00:00 2001 From: Jonathan Alligood Date: Thu, 5 Sep 2019 13:27:10 -0500 Subject: [PATCH 2/2] Bump version --- extension/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/manifest.json b/extension/manifest.json index cda1765..73fb3cf 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -1,6 +1,6 @@ { "name": "Twitch-HLS-Ad-Block", - "version": "0.6.1", + "version": "0.6.2", "author": "InstanceLabs", "description": "Block Twitch ads that are inserted directly in the HLS stream", "content_scripts": [{