Merge pull request #8 from ajayyy/experimental

Added quick fix for changing UUID when submitting two times
This commit is contained in:
Ajay Ramachandran
2019-07-26 14:21:50 -04:00
committed by GitHub
3 changed files with 8 additions and 2 deletions

View File

@@ -198,6 +198,12 @@ function getUserID(callback) {
userID = userIDStorage; userID = userIDStorage;
callback(userID); callback(userID);
} else { } else {
//double check if a UUID hasn't been created since this was first called
if (userID != null) {
callback(userID);
return;
}
//generate a userID //generate a userID
userID = generateUUID(); userID = generateUUID();

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.4", "version": "1.0.5",
"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.4", "version": "1.0.5",
"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": [
{ {