diff --git a/admin/package.json b/admin/package.json index fff6359..43dfba2 100644 --- a/admin/package.json +++ b/admin/package.json @@ -1,6 +1,6 @@ { "name": "watch-party-admin", - "version": "1.6.3", + "version": "1.6.4", "private": true, "dependencies": { "@ant-design/icons": "^4.2.2", diff --git a/app/package.json b/app/package.json index 82c31d1..25b1bfd 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "watch-party-crx", - "version": "1.6.3", + "version": "1.6.4", "private": true, "dependencies": {}, "scripts": { diff --git a/app/public/background.js b/app/public/background.js index 80611e8..61f43e4 100644 --- a/app/public/background.js +++ b/app/public/background.js @@ -12,7 +12,7 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION. /* global chrome */ /* global firebase */ -const APP_VERSION = '1.6.3'; +const APP_VERSION = '1.6.4'; const APP_VERSION_STRING = APP_VERSION.replace(/\./g, ''); const firebaseConfig = { @@ -127,6 +127,23 @@ chrome.runtime.onMessage.addListener((request, sender, sendResponse) => { case 'EMPTY_PARTIES': window.localStorage.removeItem('parties'); break; + case 'IS_HIDDEN': + sendResponse( + window.localStorage.getItem('showWPButton') + ? JSON.parse(window.localStorage.getItem('showWPButton')) + : true + ); + break; + case 'GET_TUTORIAL': + sendResponse( + window.localStorage.getItem('tutorialComplete') + ? JSON.parse(window.localStorage.getItem('tutorialComplete')) + : false + ); + break; + case 'SET_TUTORIAL': + window.localStorage.setItem('tutorialComplete', request.status); + break; default: console.warn('Unknown message type: <', type, '>'); break; diff --git a/app/public/manifest.json b/app/public/manifest.json index ee1ea1e..0850bcb 100644 --- a/app/public/manifest.json +++ b/app/public/manifest.json @@ -1,7 +1,7 @@ { "name": "Watch Party", "short_name": "WP", - "version": "1.6.3", + "version": "1.6.4", "description": "Watch streamed content together.", "background": { "page": "background.html" @@ -21,7 +21,7 @@ "https://play.google.com/movies/*", "https://*.crunchyroll.com/*" ], - "content_security_policy": "script-src 'self' https://www.gstatic.com/ https://*.firebaseio.com https://www.googleapis.com; object-src 'self'", + "content_security_policy": "script-src 'self' https://unpkg.com/ https://www.gstatic.com/ https://*.firebaseio.com https://www.googleapis.com; object-src 'self'", "content_scripts": [ { "matches": [ diff --git a/app/public/popup.html b/app/public/popup.html index 27ad6e4..029d77b 100644 --- a/app/public/popup.html +++ b/app/public/popup.html @@ -17,70 +17,127 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION. content="default-src *; style-src 'self' https://* 'unsafe-inline'; script-src 'self' http://* 'unsafe-inline' 'unsafe-eval'" /> + + +
-- NOTHING TO DO HERE. GO TO A SUPPORTED WEBSITE, AND LOOK FOR WATCH PARTY IN THE BOTTOM RIGHT - CORNER OF YOUR SCREEN -
- HOW TO GET STARTED - FAQ - Feedback - Donate - - + + + school + + + + + + support + + + + + + question_answer + + + + + + attach_money + + + +