diff --git a/Extensions/UserScript/Return Youtube Dislike.user.js b/Extensions/UserScript/Return Youtube Dislike.user.js index 9dea9a6..bca1d51 100644 --- a/Extensions/UserScript/Return Youtube Dislike.user.js +++ b/Extensions/UserScript/Return Youtube Dislike.user.js @@ -84,7 +84,6 @@ function getState() { if (isVideoDisliked()) { return "disliked"; } - return "neutral"; } diff --git a/Website/layouts/default.vue b/Website/layouts/default.vue index 504d83e..bfee7a4 100644 --- a/Website/layouts/default.vue +++ b/Website/layouts/default.vue @@ -13,7 +13,16 @@ - + +
+
+
+ + + +
+
+
diff --git a/Website/layouts/default_legacy.vue b/Website/layouts/default_legacy.vue new file mode 100644 index 0000000..8a67913 --- /dev/null +++ b/Website/layouts/default_legacy.vue @@ -0,0 +1,72 @@ + + + + + \ No newline at end of file diff --git a/Website/package-lock.json b/Website/package-lock.json index db6a2e4..0e61492 100644 --- a/Website/package-lock.json +++ b/Website/package-lock.json @@ -1,12 +1,12 @@ { - "name": "Return-Youtube-Dislike", - "version": "1.0.0", + "name": "return-youtube-dislike-site", + "version": "1.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "Return-Youtube-Dislike", - "version": "1.0.0", + "name": "return-youtube-dislike-site", + "version": "1.1.0", "dependencies": { "core-js": "^3.15.1", "nuxt": "^2.15.7", diff --git a/Website/package.json b/Website/package.json index 396e852..7ac5e93 100644 --- a/Website/package.json +++ b/Website/package.json @@ -1,6 +1,6 @@ { - "name": "Return-Youtube-Dislike", - "version": "1.0.0", + "name": "return-youtube-dislike-site", + "version": "1.1.0", "private": true, "scripts": { "dev": "nuxt", diff --git a/Website/pages/donate.vue b/Website/pages/donate.vue index 6b1b77f..7b5125e 100644 --- a/Website/pages/donate.vue +++ b/Website/pages/donate.vue @@ -1,29 +1,16 @@ diff --git a/Website/pages/faq.vue b/Website/pages/faq.vue index 5b882ea..375462a 100644 --- a/Website/pages/faq.vue +++ b/Website/pages/faq.vue @@ -1,27 +1,17 @@ @@ -31,16 +21,20 @@ data: () => ({ items: [ { - question: "Why is it not in chrome store yet?", - answer: "Chrome extension appoval process takes some time. As soon as it's available in the store - We'll update the site " + question: "Where does extension get data?", + answer: "Combination of GoogleAPI data and scraped data. We save all available data to our DB for it to be available after google shuts down dislike counts in their API." }, { - question: "Is it dangerous?/Is it a virus?", - answer: "While there is some trust involved in installing an extension from 3-rd party source - you can see all permissions requested by the extension before installing it. This extension only asks for access to youtube.com page " + question: "Video dislike count doesn't update", + answer: "Right now video dislikes are cached, and arent updated very frequenly. Once in 2-3 days, not more often Yeah, it's not ideal, but it is what it is. Working on improving how often we can update them" }, { - question: "I downvoted a video, and downvotes number didn't change", - answer: "Currently we're using YouTube API to get dislikes count. It may take some time for data to be updated. YouTube might freeze dislike counts as well. We're working on a solution for this " + question: "How does this work?", + answer: "The extension collects the video id of the video you are watching, fetches the dislike (and other fields like views, likes etc) using our API, if this is the first time the video was fetched by our API, it will use the YouTube API to get the data, then stores the data in a database for caching (cached for around 2-3 days) and archiving purposes and returns it to you. The extension then displays the dislikes to you." + }, + { + question: "What will happen after the YouTube API stops returning the dislike count?", + answer: "The backend will switch to using a combination of archived dislike stats, estimates extrapolated from extension user data and estimates based on view/like ratios for videos whose dislikes weren't archived and for outdated dislike archives." }, ], }), diff --git a/Website/pages/index.vue b/Website/pages/index.vue index c53a885..37e66c0 100644 --- a/Website/pages/index.vue +++ b/Website/pages/index.vue @@ -1,39 +1,27 @@ diff --git a/Website/pages/install.vue b/Website/pages/install.vue index 9d1779c..2cb9ffb 100644 --- a/Website/pages/install.vue +++ b/Website/pages/install.vue @@ -1,48 +1,37 @@ diff --git a/Website/pages/links.vue b/Website/pages/links.vue index 133de7a..5ab5982 100644 --- a/Website/pages/links.vue +++ b/Website/pages/links.vue @@ -53,6 +53,7 @@