thumbnail-rating-bar-for-youtube icon indicating copy to clipboard operation
thumbnail-rating-bar-for-youtube copied to clipboard

Local etension

Open shhivaam opened this issue 2 years ago • 3 comments

Sir you already given me local extension by changing: function getRatingPercentageHtml(videoData) { let r = (1 - videoData.rating) * 1275 let g = videoData.rating * 637.5 - 255 if (!isDarkTheme) { g = Math.min(g, 255) * 0.85 } let rgb = 'rgb(' + r + ',' + g + ',0)'

return '' + ratingToPercentage(videoData.rating) + '' }

to

function getRatingPercentageHtml(videoData) { let r = (1 - videoData.rating) * 1275 let g = videoData.rating * 637.5 - 255 if (!isDarkTheme) { g = Math.min(g, 255) * 0.85 } let rgb = 'rgb(' + r + ',' + g + ',0)' let text = videoData.likes.toLocaleString() + ' likes, ' + videoData.dislikes.toLocaleString() + ' dislikes'

return '' + text + '' }

to get number of likes and dislike below the title of the video,can you write a new code to get same because it doesnt load like and dislike data for most videos in video page of youtube channel and when we search anything in youtube under people also watched,top news and for you section,it doesnt load like dislike data and for last video in each category it loads but its wrong count showing and also for youtube shorts video it doesnt load

shhivaam avatar Mar 28 '22 17:03 shhivaam

Thank's for reporting this. I currently don't have time to work on this, but I have added this to my future TODO list to get to eventually.

elliotwaite avatar Mar 29 '22 02:03 elliotwaite

Ok, make new changes when you get the time.

On Tue, Mar 29, 2022 at 8:13 AM Elliot Waite @.***> wrote:

Thank's for reporting this. I currently don't have time to work on this, but I have added this to my future TODO list to get to eventually.

— Reply to this email directly, view it on GitHub https://github.com/elliotwaite/thumbnail-rating-bar-for-youtube/issues/70#issuecomment-1081341694, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXDKUGANGEIMK3VDLMOZAM3VCJU5RANCNFSM5R32TXEA . You are receiving this because you authored the thread.Message ID: @.*** com>

shhivaam avatar Mar 29 '22 06:03 shhivaam

Please consider making new changes if you get time

On Tue, Mar 29, 2022 at 12:06 PM Shivam Kumar Choudhary < @.***> wrote:

Ok, make new changes when you get the time.

On Tue, Mar 29, 2022 at 8:13 AM Elliot Waite @.***> wrote:

Thank's for reporting this. I currently don't have time to work on this, but I have added this to my future TODO list to get to eventually.

— Reply to this email directly, view it on GitHub https://github.com/elliotwaite/thumbnail-rating-bar-for-youtube/issues/70#issuecomment-1081341694, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXDKUGANGEIMK3VDLMOZAM3VCJU5RANCNFSM5R32TXEA . You are receiving this because you authored the thread.Message ID: @.*** .com>

shhivaam avatar Apr 05 '22 16:04 shhivaam