diff --git a/.gitignore b/.gitignore index d0cacfb..e8f2598 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ *.idea *Backend *cert -*StaticSite diff --git a/Extensions/firefox/background.js b/Extensions/firefox/background.js index 6bc91c7..601f1ea 100644 --- a/Extensions/firefox/background.js +++ b/Extensions/firefox/background.js @@ -1,4 +1,4 @@ -const apiUrl = "https://localhost:7258"; +const apiUrl = "https://return-youtube-dislike-api.azurewebsites.net"; browser.runtime.onMessage.addListener((request, sender, sendResponse) => { if (request.message === "get_auth_token") { diff --git a/Extensions/firefox/manifest.json b/Extensions/firefox/manifest.json index 2740ce5..ee386ac 100644 --- a/Extensions/firefox/manifest.json +++ b/Extensions/firefox/manifest.json @@ -16,12 +16,6 @@ "js": ["content-script.js"], "run_at": "document_idle" } - ], - "browser_specific_settings": { - "gecko": { - "id": "returnyoutubedislike@returnyoutubedislike.com", - "update_url": "https://returnyoutubedislike.com/files/ff/updates.json" - } - } + ] } diff --git a/StaticSite/files/chrome/return_youtube_dislike0.0.0.1.crx b/StaticSite/files/chrome/return_youtube_dislike0.0.0.1.crx new file mode 100644 index 0000000..027d299 Binary files /dev/null and b/StaticSite/files/chrome/return_youtube_dislike0.0.0.1.crx differ diff --git a/StaticSite/files/chrome/return_youtube_dislike0.0.0.2.crx b/StaticSite/files/chrome/return_youtube_dislike0.0.0.2.crx new file mode 100644 index 0000000..a503583 Binary files /dev/null and b/StaticSite/files/chrome/return_youtube_dislike0.0.0.2.crx differ diff --git a/StaticSite/files/ff/updates.json b/StaticSite/files/ff/updates.json new file mode 100644 index 0000000..e721400 --- /dev/null +++ b/StaticSite/files/ff/updates.json @@ -0,0 +1,16 @@ +{ + "addons": { + "{912e2f00-777e-4437-a0c7-2403e2651e41}": { + "updates": [ + { + "version": "0.0.0.1", + "update_link": "https://returnyoutubedislike.com/files/ff/youtube_dislike_button-0.0.0.1-fx.xpi" + }, + { + "version": "0.0.0.2", + "update_link": "https://returnyoutubedislike.com/files/ff/youtube_dislike_button-0.0.0.2-fx.xpi" + } + ] + } + } +} \ No newline at end of file diff --git a/StaticSite/files/ff/youtube_dislike_button-0.0.0.1-fx.xpi b/StaticSite/files/ff/youtube_dislike_button-0.0.0.1-fx.xpi new file mode 100644 index 0000000..99875a9 Binary files /dev/null and b/StaticSite/files/ff/youtube_dislike_button-0.0.0.1-fx.xpi differ diff --git a/StaticSite/files/ff/youtube_dislike_button-0.0.0.2-fx.xpi b/StaticSite/files/ff/youtube_dislike_button-0.0.0.2-fx.xpi new file mode 100644 index 0000000..4e350d1 Binary files /dev/null and b/StaticSite/files/ff/youtube_dislike_button-0.0.0.2-fx.xpi differ diff --git a/StaticSite/images/DislikeScreenshot.JPG b/StaticSite/images/DislikeScreenshot.JPG new file mode 100644 index 0000000..5339c5e Binary files /dev/null and b/StaticSite/images/DislikeScreenshot.JPG differ diff --git a/StaticSite/images/DragAndDrop.JPG b/StaticSite/images/DragAndDrop.JPG new file mode 100644 index 0000000..5be4c37 Binary files /dev/null and b/StaticSite/images/DragAndDrop.JPG differ diff --git a/StaticSite/images/EnableDeveloperMode.JPG b/StaticSite/images/EnableDeveloperMode.JPG new file mode 100644 index 0000000..89c8993 Binary files /dev/null and b/StaticSite/images/EnableDeveloperMode.JPG differ diff --git a/StaticSite/images/Permissions.JPG b/StaticSite/images/Permissions.JPG new file mode 100644 index 0000000..6d3990c Binary files /dev/null and b/StaticSite/images/Permissions.JPG differ diff --git a/StaticSite/images/aAGrY8L_700b.jpg b/StaticSite/images/aAGrY8L_700b.jpg new file mode 100644 index 0000000..fb95d76 Binary files /dev/null and b/StaticSite/images/aAGrY8L_700b.jpg differ diff --git a/StaticSite/images/screenshot1.jpg b/StaticSite/images/screenshot1.jpg new file mode 100644 index 0000000..0b831a5 Binary files /dev/null and b/StaticSite/images/screenshot1.jpg differ diff --git a/StaticSite/images/screenshotMain.JPG b/StaticSite/images/screenshotMain.JPG new file mode 100644 index 0000000..a84026b Binary files /dev/null and b/StaticSite/images/screenshotMain.JPG differ diff --git a/StaticSite/index.html b/StaticSite/index.html new file mode 100644 index 0000000..24fe203 --- /dev/null +++ b/StaticSite/index.html @@ -0,0 +1,185 @@ + + + + + + + + + + + Return youtube dislike count + + +
+
+
+

Chrome/Firefox/Usersript extension to return youtube dislike count

+ +

Now available in + firefox addon store!

+

This is a Chrome/Firefox/Userscript extension that return dislike statistics to YouTube. For now, it only works + if + a video had public display of dislikes enabled before YouTube removed dislike stats.

+ +

Base dislike stats are retrieved from YouTube API while it's available. When API closes - the extension will + use data from extension users to derive actual dislike count on a video

+

Youtube has removed dislike statistics. Since this was a very usefull feature - + this extension aims to return this functionality to users. +

+

+ Currently available only for Chrome and Firefox desktop browsers. Coming to mobile soon. +

+

We're considering integration with Youtube Vanced mobile app, if the devs + will want to utilize our API

+ + +

The downvotes count looks like this, similar to what it used to be before it was removed

+

Like/dislike ratio bar is coming soon

+ + +
+

Downloads:

+

This is an ALHPA version! It may be slow. It may be buggy.

+

Only available for chrome and Firefox now, but coming to other platforms soon

+

Chrome:

+

+ v_0.0.0.1

+

v_0.0.0.2 - Better number formatting added, + thanks bstka +

+ +

Firefox:

+ + Install from extension's firefox addon store page. + Check for updates often - this extension is being actively improved + +

+ + +

+
+

+ +

+
+
+
+ +

NOT RECOMMENDED! Use firefox addon store link +

+

+ v_0.0.0.1 +

+

v_0.0.0.2 - Better number formatting added + thanks, bstka +

+
+
+
+
+
+ + +

Userscript, tested on Tampermonkey

+

+ https://github.com/Anarios/return-youtube-dislike/raw/main/Extensions/UserScript/Return%20Youtube%20Dislike.user.js +

+
+
+

Installation on chrome

+ Before installing new version - please manually delete old version +

Installation is described for Chrome. Process is very similar in Firefox

+
    +
  1. + Download latest version for you browser +
  2. +
  3. +

    Write chrome://extensions in url bar.

    +

    Or press ... in right corner => Settings => Extensions

    +
  4. +
  5. + Enable Developer Mode + +
  6. +
  7. +

    Drag and drop the return_youtube_dislike_xxxx file that you just downloaded into chrome extensions + page

    + +
  8. +
  9. Press "Add extension" button
  10. +
+
+
+

FAQ

+
    +
  1. + Why is it not in chrome store yet? +

    Chrome extension appoval process takes some time. As soon as it's available in the store - We'll update + the + site

    +
  2. +
  3. + Is it dangerous?/Is it a virus? +

    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

    + +
  4. +
  5. + I downvoted a video, and downvotes number didn't change +

    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

    +
  6. +
+ + For anything else contact us at email\discord channel listed in Communication section +
+ +
+

Communication

+

Email

+

You can mail me at selivano.d@gmail.com

+

Discord server

+ Join a discord discussion +
+
+

Sources

+ https://github.com/Anarios/return-youtube-dislike +
+ + +
+
+ +
+
+
+ + + + + + + + + + + + +