Recenzje dodatku Tampermonkey
Tampermonkey Autor: Jan Biniok
Autor recenzji: DannSKiller
Ocena: 5/5
Autor: DannSKiller, 2 lata temuAfter 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';
}
});
});
})();
// ==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';
}
});
});
})();
5241 recenzji
- Ocena: 5/5Autor: Użytkownik Firefoksa 19743679, 20 godzin temu
- Ocena: 5/5Autor: DrBeaker, 3 dni temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 10447271, 4 dni temu
- Ocena: 5/5Autor: Desire, 9 dni temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 19729411, 9 dni temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 19709889, 20 dni temuReally efficient. This is my new obsession.
- Ocena: 5/5Autor: Breno, 22 dni temu
- Ocena: 1/5Autor: keenoy, miesiąc temu
- Ocena: 5/5Autor: Eti, miesiąc temu
- Ocena: 5/5Autor: left2crazy, miesiąc temu
- Ocena: 5/5Autor: Vormix_Sv, miesiąc temu
- Ocena: 5/5Autor: melodic mustox, miesiąc temuThanks to Tampermonkey, I can do a lot of things from my browser. I thanks with a donation, which I will repeat next month again for sure.
- Ocena: 4/5Autor: Carlos Páez, 2 miesiące temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 13035229, 2 miesiące temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 18699594, 2 miesiące temu
- Ocena: 5/5Autor: Antonio Johns, 2 miesiące temu
- Ocena: 5/5Autor: Yuri, 2 miesiące temu
- Ocena: 5/5Autor: Saphir, 2 miesiące temu
- Ocena: 5/5Autor: Marlon Ruiz, 2 miesiące temu
- Ocena: 5/5Autor: SergioDT, 2 miesiące temuEssential. I can't imagine the internet without this extension.
- Ocena: 5/5Autor: biki, 2 miesiące temu