mirror of
https://github.com/ION606/browser-chromium.git
synced 2026-06-06 00:07:06 +00:00
added youtube dislike
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user