mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-05-20 13:22:34 +02:00
A lot of QOL changement, remove Zen, config Qutebrowser, update a lot of things
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// ==UserScript==
|
||||
// @name Startpage - Hide Ads
|
||||
// @match https://www.startpage.com/*
|
||||
// @run-at document-start
|
||||
// ==/UserScript==
|
||||
|
||||
new MutationObserver(function(mutations) {
|
||||
mutations.forEach((mutation) => {
|
||||
if (mutation.type === 'childList') {
|
||||
mutation.addedNodes.forEach((node) => {
|
||||
if (node.nodeType === 1 && node.nodeName === 'DIV' && node.id === 'gcsa-top') {
|
||||
node.remove();
|
||||
this.disconnect();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}).observe(document, { childList: true, subtree: true });
|
||||
Reference in New Issue
Block a user