mirror of
https://github.com/jesperh1/Return-Invidious-Dislike-Count.git
synced 2025-05-17 01:38:16 +01:00
Version 0.2
This commit is contained in:
parent
af9d15f4b6
commit
42555674bd
@ -2,7 +2,7 @@
|
|||||||
// @name Return Dislike Count Invidious
|
// @name Return Dislike Count Invidious
|
||||||
// @namespace https://github.com/jesperbakhandskemager/Return-Invidious-Dislike-Count
|
// @namespace https://github.com/jesperbakhandskemager/Return-Invidious-Dislike-Count
|
||||||
// @encoding utf-8
|
// @encoding utf-8
|
||||||
// @version 0.1
|
// @version 0.2
|
||||||
// @description Return the dislike count to Invidious
|
// @description Return the dislike count to Invidious
|
||||||
// @author Jesper Bak Handskemager
|
// @author Jesper Bak Handskemager
|
||||||
// @icon https://www.google.com/s2/favicons?domain=yewtu.be
|
// @icon https://www.google.com/s2/favicons?domain=yewtu.be
|
||||||
@ -26,4 +26,4 @@ GM.xmlHttpRequest({
|
|||||||
document.getElementById("dislikes").innerHTML = "<i class='icon ion-ios-thumbs-down'></i> " + data.dislikes.toLocaleString('en-US');
|
document.getElementById("dislikes").innerHTML = "<i class='icon ion-ios-thumbs-down'></i> " + data.dislikes.toLocaleString('en-US');
|
||||||
document.getElementById("rating").innerHTML = "Rating: " + Math.round(data.rating * 10) / 10 + " / 5";
|
document.getElementById("rating").innerHTML = "Rating: " + Math.round(data.rating * 10) / 10 + " / 5";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user