Merge pull request #25 from ajayyy/experimental

Fixed old unsponsored times sometimes being used
This commit is contained in:
Ajay Ramachandran 2019-07-26 20:26:29 -04:00 committed by GitHub
commit 64be41b008
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View file

@ -121,6 +121,10 @@ function videoIDChange(id) {
lastTime = -1; lastTime = -1;
lastUnixTimeSkipped = -1; lastUnixTimeSkipped = -1;
//reset sponsor times
sponsorTimes = undefined;
UUIDs = undefined;
//reset sponsor data found check //reset sponsor data found check
sponsorDataFound = false; sponsorDataFound = false;
sponsorsLookup(id); sponsorsLookup(id);

View file

@ -1,7 +1,7 @@
{ {
"name": "SponsorBlock - YouTube Sponsorship Blocker", "name": "SponsorBlock - YouTube Sponsorship Blocker",
"short_name": "SponsorBlock", "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.", "description": "Skip over sponsorship on YouTube videos. Report sponsors on videos you watch to save the time of others.",
"content_scripts": [ "content_scripts": [
{ {

View file

@ -1,7 +1,7 @@
{ {
"name": "SponsorBlock - YouTube Sponsorship Blocker", "name": "SponsorBlock - YouTube Sponsorship Blocker",
"short_name": "SponsorBlock", "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.", "description": "Skip over sponsorship on YouTube videos. Report sponsors on videos you watch to save the time of others.",
"content_scripts": [ "content_scripts": [
{ {

View file

@ -71,7 +71,9 @@
<div> <div>
<button id="sponsorStart" class="greenButton">Sponsorship Starts Now</button> <button id="sponsorStart" class="greenButton">Sponsorship Starts Now</button>
</div> </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"> <div id="submissionSection" style="display: none">
<h3>Latest Sponsor Message Times Chosen</h3> <h3>Latest Sponsor Message Times Chosen</h3>
<b> <b>