Old extensions removed, sponsors added to website

This commit is contained in:
Dmitrii Selivanov committed 2021-12-15 03:10:33 +03:00
1 parent 2b7ef364ff
commit 3cb09e6fd2
25 files changed
+39 -1551

No files matched your search

-23
View File
@@ -135,29 +135,6 @@ function RYD() {
? LIKED_STATE
: NEUTRAL_STATE;
let statsSet = false;
RYDTools.getBrowser().runtime.sendMessage(
{
message: "fetch_from_youtube",
videoId: getVideoId(window.location.href),
},
function (response) {
if (response !== undefined) {
cLog("response from youtube:");
cLog(JSON.stringify(response));
try {
if (
"likes" in response &&
"dislikes" in response &&
response.dislikes !== null &&
!Number.isNaN(response.dislikes)
) {
processResponse(response);
statsSet = true;
}
} catch (e) {}
}
}
);
RYDTools.getBrowser().runtime.sendMessage(
{