diff --git a/Extensions/chrome/manifest.json b/Extensions/chrome/manifest.json index a2a6f78..a42ef6b 100644 --- a/Extensions/chrome/manifest.json +++ b/Extensions/chrome/manifest.json @@ -1,7 +1,7 @@ { "name": "Youtube Dislike Button", "description": "Returns ability to see dislikes", - "version": "0.0.0.6", + "version": "0.0.0.7", "manifest_version": 3, "background": { "service_worker": "background.js" diff --git a/Extensions/chrome/script.js b/Extensions/chrome/script.js index 15308d8..db2c8fc 100644 --- a/Extensions/chrome/script.js +++ b/Extensions/chrome/script.js @@ -76,7 +76,6 @@ statsSet = true; } } catch (e) { - debugger; statsSet = false; } } @@ -187,7 +186,7 @@ > - ${likes} / ${dislikes} + ${likes} / ${dislikes} ` ); @@ -197,6 +196,8 @@ ).style.width = widthPx + 'px'; document.getElementById('return-youtube-dislike-bar').style.width = widthPercent + '%'; + + document.getElementById('ryd-dislike-tooltip').innerHTML = `${likes} / ${dislikes}` } } diff --git a/Extensions/firefox/manifest.json b/Extensions/firefox/manifest.json index 74d9920..1addae0 100644 --- a/Extensions/firefox/manifest.json +++ b/Extensions/firefox/manifest.json @@ -1,7 +1,7 @@ { "name": "Youtube Dislike Button", "description": "Returns ability to see dislikes", - "version": "0.0.0.6", + "version": "0.0.0.7", "manifest_version": 2, "background": { "scripts": ["background.js"] diff --git a/Extensions/firefox/script.js b/Extensions/firefox/script.js index 6bc00ce..d6c2afe 100644 --- a/Extensions/firefox/script.js +++ b/Extensions/firefox/script.js @@ -192,7 +192,7 @@ function createRateBar(likes, dislikes) { > - ${likes} / ${dislikes} + ${likes} / ${dislikes} ` ); @@ -202,6 +202,9 @@ function createRateBar(likes, dislikes) { ).style.width = widthPx + "px"; document.getElementById("return-youtube-dislike-bar").style.width = widthPercent + "%"; + document.getElementById( + "ryd-dislike-tooltip" + ).innerHTML = `${likes} / ${dislikes}`; } } diff --git a/StaticSite/files/chrome/return_youtube_dislike_LOAD_UNPACKED_0.0.0.7.zip b/StaticSite/files/chrome/return_youtube_dislike_LOAD_UNPACKED_0.0.0.7.zip new file mode 100644 index 0000000..2d7ff7c Binary files /dev/null and b/StaticSite/files/chrome/return_youtube_dislike_LOAD_UNPACKED_0.0.0.7.zip differ diff --git a/StaticSite/images/OnHower.JPG b/StaticSite/images/OnHower.JPG new file mode 100644 index 0000000..ebe45a1 Binary files /dev/null and b/StaticSite/images/OnHower.JPG differ diff --git a/StaticSite/images/chromeStore images/DislikeScreenshot.jpg b/StaticSite/images/chromeStore images/DislikeScreenshot.jpg new file mode 100644 index 0000000..a69a26a Binary files /dev/null and b/StaticSite/images/chromeStore images/DislikeScreenshot.jpg differ diff --git a/StaticSite/images/chromeStore images/Untitled-1.jpg b/StaticSite/images/chromeStore images/Untitled-1.jpg new file mode 100644 index 0000000..04820b4 Binary files /dev/null and b/StaticSite/images/chromeStore images/Untitled-1.jpg differ diff --git a/StaticSite/index.html b/StaticSite/index.html index aeda077..e42a53d 100644 --- a/StaticSite/index.html +++ b/StaticSite/index.html @@ -58,17 +58,60 @@

Chrome/Firefox/Usersript extension to return youtube dislike count

- +

Version 0.0.0.5 released - ratio (like/dislike) bar addedVersion 0.0.0.7 released - great improvements in how fast you see + dislikes, and added ability to see full (unshortened) likes and dislikes on + hower over rating bar +

+ + +

CHROME

+

+ Old version is + + available in official Chrome store

+

But, it's 0.0.0.1, and the latest version is 0.0.0.7

- Now available in official Firefox store + If you'd like to help - please download and rate Chrome version from + official store

- +

+ 0.0.0.1 is slow and lacks features. If you care about features and + performance - please install the latest version from unpacked files + bellow following the instructions bellow. +

+

+ 0.0.0.6 is submitted to chrome store for review, but it's takes long + time. +

+

+ NEVER INSTALL 2 VERSIONS OF ADDON AT THE SAME TIME. + I.e. an unpacked version from this page, and another version from + chrome store. It will cause bugs +

+ +

FIREFOX

+

+ Now + + available in official Firefox store +

+

General information

This is a Chrome/Firefox/Userscript extension that return dislike statistics to YouTube. For now, it only works if a video had public @@ -100,7 +143,8 @@ before it was removed

Like/dislike ratio bar is coming soon

- + +
@@ -115,6 +159,10 @@ but coming to other platforms soon

Chrome:

+

+ Old version available in official store, everything explained + at the top of the page +

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

+

+ 0.0.0.6 + Greatly improved performance for non-cached videos. You can see + actual number of votes (not shortened) on hover over rating bar +

+ +

+ 0.0.0.7 + Bugfixes +

Firefox:

- Install from extension's official firefox addon store - page + addon store page. Check for updates often - this extension is being actively improved Latest version coming out as soon as update is approved by Mozilla @@ -215,7 +280,7 @@
-

Installation on chrome

+

Installation from unpacked files on chrome

Before installing new version - please manually delete old @@ -311,7 +376,8 @@

Discord server

- Join a discord discussion + Join a discord + discussion