added youtube dislike

This commit is contained in:
2024-11-07 08:21:37 -05:00
parent 014e4c8b7b
commit 2317d5a213
8 changed files with 132 additions and 14 deletions
+4
View File
@@ -14,6 +14,10 @@ process.once("loaded", () => {
const element = document.querySelector(selector);
if (element) element.innerHTML += policy.createHTML(htmlString);
},
overwriteinner: (selector, htmlString) => {
const element = document.querySelector(selector);
if (element) element.innerHTML = policy.createHTML(htmlString);
},
insertBefore: (selector, htmlString) => {
const element = document.querySelector(selector);
if (element) element.innerHTML = policy.createHTML(htmlString) + element.innerHTML;