Skip to content

Commit b0728f5

Browse files
authored
Merge pull request #25 from MillhioreF/master
Add new ad chunk definition
2 parents abfe51b + f626b97 commit b0728f5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

extension/lib.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ function getFuncsForInjection (usePerformanceFix) {
2828

2929
textStr = textStr.replace(/#EXT-X-SCTE35-OUT(.|\s)*#EXT-X-SCTE35-IN/gmi, '');
3030
textStr = textStr.replace(/#EXT-X-SCTE35-OUT(.|\s)*/gmi, '');
31+
textStr = textStr.replace(/#EXTINF:2.00[12](.|\s)*/gmi, '');
3132
textStr = textStr.replace(/#EXT-X-SCTE35-IN/gi, '');
3233
textStr = textStr.replace(/#EXT-X-DISCONTINUITY/gi, '');
3334
textStr = textStr.replace(/#EXT-X-DATERANGE:ID="stitched-ad.*/gi, '');

extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Twitch-HLS-Ad-Block",
3-
"version": "0.6.1",
3+
"version": "0.6.2",
44
"author": "InstanceLabs",
55
"description": "Block Twitch ads that are inserted directly in the HLS stream",
66
"content_scripts": [{

0 commit comments

Comments
 (0)