Skip to content

Commit

Permalink
Merge pull request #25 from MillhioreF/master
Browse files Browse the repository at this point in the history
Add new ad chunk definition
  • Loading branch information
instance01 authored Sep 14, 2019
2 parents abfe51b + f626b97 commit b0728f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions extension/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, '');
Expand Down
2 changes: 1 addition & 1 deletion extension/manifest.json
Original file line number Diff line number Diff line change
@@ -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": [{
Expand Down

0 comments on commit b0728f5

Please sign in to comment.