Skip to content

Commit

Permalink
Merge pull request #25 from ajayyy/experimental
Browse files Browse the repository at this point in the history
 Fixed old unsponsored times sometimes being used
  • Loading branch information
ajayyy committed Jul 27, 2019
2 parents 5436a16 + b3684a8 commit 64be41b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions content.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ function videoIDChange(id) {
lastTime = -1;
lastUnixTimeSkipped = -1;

//reset sponsor times
sponsorTimes = undefined;
UUIDs = undefined;

//reset sponsor data found check
sponsorDataFound = false;
sponsorsLookup(id);
Expand Down
2 changes: 1 addition & 1 deletion firefox_manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "SponsorBlock - YouTube Sponsorship Blocker",
"short_name": "SponsorBlock",
"version": "1.0.6",
"version": "1.0.7",
"description": "Skip over sponsorship on YouTube videos. Report sponsors on videos you watch to save the time of others.",
"content_scripts": [
{
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "SponsorBlock - YouTube Sponsorship Blocker",
"short_name": "SponsorBlock",
"version": "1.0.6",
"version": "1.0.7",
"description": "Skip over sponsorship on YouTube videos. Report sponsors on videos you watch to save the time of others.",
"content_scripts": [
{
Expand Down
4 changes: 3 additions & 1 deletion popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ <h2 class="recordingSubtitle">Record the times of a sponsorship</h2>
<div>
<button id="sponsorStart" class="greenButton">Sponsorship Starts Now</button>
</div>


<sub>Hint: Press the semicolon key while focused on a video report the start/end of a sponsor and quote to submit.</sub>

<div id="submissionSection" style="display: none">
<h3>Latest Sponsor Message Times Chosen</h3>
<b>
Expand Down

0 comments on commit 64be41b

Please sign in to comment.