mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-28 08:57:56 +01:00
Site updated, 0.0.0.7 minor fix
This commit is contained in:
1 parent
5c85cfc425
commit
8ad8380b60
9 files changed
+88
-18
No files matched your search
@@ -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"
|
||||
|
||||
@@ -76,7 +76,6 @@
|
||||
statsSet = true;
|
||||
}
|
||||
} catch (e) {
|
||||
debugger;
|
||||
statsSet = false;
|
||||
}
|
||||
}
|
||||
@@ -187,7 +186,7 @@
|
||||
></div>
|
||||
</div>
|
||||
|
||||
<span class="ryd-tooltiptext ryd-tooltip-top">${likes} / ${dislikes}</span>
|
||||
<span id="ryd-dislike-tooltip" class="ryd-tooltiptext ryd-tooltip-top">${likes} / ${dislikes}</span>
|
||||
</div>
|
||||
`
|
||||
);
|
||||
@@ -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}`
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user