mirror of
https://github.com/ION606/browser-chromium.git
synced 2026-05-14 22:26:56 +00:00
added youtube dislike
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ export async function addEl(window, hostname) {
|
||||
}
|
||||
|
||||
const p = path.resolve(import.meta.dirname, '../CSS', src);
|
||||
console.log(p);
|
||||
|
||||
if (src && fs.existsSync(p)) {
|
||||
const srccontent = fs.readFileSync(p).toString();
|
||||
window.webContents.insertCSS(srccontent);
|
||||
|
||||
Reference in New Issue
Block a user