Iceggiren i Tampermonkey
Tampermonkey sɣur Jan Biniok
5 228 n yiceggiren
- Yettwasezmel 5 ɣef 5sɣur cnb, un an în urmă
- Yettwasezmel 5 ɣef 5sɣur Sergey Novoseltsev, un an în urmă
- Yettwasezmel 5 ɣef 5sɣur DannSKiller, 2 ani în urmăAfter getting annoyed with searches I didn't want showing up on my Google page, especially for video searches, my web browser redirected me to TikTok. That platform is totally useless and shouldn't even be linked with Google. I'm sharing the script below that will help you block sites as well."
// ==UserScript==
// @name Google Search Filter
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Filter out specified sites from Google search results
// @author Your Name
// @match https://www.google.com/search*
// @grant none
// ==/UserScript==
(function() {
'use strict';
const blockedSites = ['example.com', 'anotherexample.com']; // Add the sites you want to block here
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
if (mutation.addedNodes && mutation.addedNodes.length > 0) {
blockedSites.forEach(site => {
const results = document.querySelectorAll(`a[href*="${site}"]`);
results.forEach(result => {
const parent = result.closest('.g'); // Google results container
if (parent) {
parent.style.display = 'none';
}
});
});
}
});
});
observer.observe(document.body, { childList: true, subtree: true });
// Initial execution for already loaded content
blockedSites.forEach(site => {
const results = document.querySelectorAll(`a[href*="${site}"]`);
results.forEach(result => {
const parent = result.closest('.g'); // Google results container
if (parent) {
parent.style.display = 'none';
}
});
});
})(); - Yettwasezmel 5 ɣef 5sɣur Kuyglitlbf, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur abdalla.rabie, 2 ani în urmă
- Yettwasezmel 1 ɣef 5sɣur Rock duende, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur SaplinG, 2 ani în urmă
- Yettwasezmel 3 ɣef 5sɣur Aseqdac Firefox 18474980, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur BeetlePie, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 18473373, 2 ani în urmăDoes exactly what it's supposed to do.
- Yettwasezmel 5 ɣef 5sɣur master1274, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur wurenji, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur daruo, 2 ani în urmă
- Yettwasezmel 3 ɣef 5sɣur Aseqdac Firefox 17926026, 2 ani în urmăStops working randomly but works again after disabling/reenabling.
- Yettwasezmel 5 ɣef 5sɣur 111, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur 徐尔曼, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur abtye, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 17265896, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur yue546, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 17717340, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur KogaClaws, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 18448404, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur lan, 2 ani în urmă
- Yettwasezmel 5 ɣef 5sɣur 狮子丶, 2 ani în urmă
- Yettwasezmel 4 ɣef 5sɣur Aseqdac Firefox 14593225, 2 ani în urmă