Recenze doplňku Tampermonkey
Tampermonkey od Jan Biniok
Recenze od uživatele DannSKiller
Hodnocení: 5 z 5
od uživatele DannSKiller, před 2 letyAfter 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';
}
});
});
})();
5 288 recenzí
- Hodnocení: 5 z 5od uživatele yogi, před hodinou
- Hodnocení: 5 z 5od uživatele Thesatan666, před 15 hodinami
- Hodnocení: 5 z 5od uživatele Maciej, před 10 dny
- Hodnocení: 5 z 5od uživatele feelc, před 11 dny
- Hodnocení: 5 z 5od uživatele NOIN, před 12 dny
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 13135296, před 13 dny
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 20015873, před 14 dny
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 14604126, před 15 dny
- Hodnocení: 5 z 5od uživatele SEBAS204, před 18 dny
- Hodnocení: 5 z 5od uživatele Nikitamce, před 23 dnyРаботает в фаерфокс намного лучше с скриптами чем виолет манки. Проверил на скриптах стима. Так что всем советую
- Hodnocení: 5 z 5od uživatele Mobina, před měsícem
- Hodnocení: 5 z 5od uživatele 靜瑟之風, před měsícem
- Hodnocení: 5 z 5od uživatele Konrad Papala, před měsícem
- Hodnocení: 5 z 5od uživatele Человек найух а не Фаерфокс user 19966279, před měsícemУстановил его и моге переводить видео без ЯГовно
- Hodnocení: 5 z 5od uživatele ok, před měsícem
- Hodnocení: 4 z 5od uživatele Uživatel Firefoxu - 16410709, před měsícem
- Hodnocení: 5 z 5od uživatele avtxr, před měsícem
- Hodnocení: 5 z 5od uživatele 终极虫, před měsícem
- Hodnocení: 5 z 5od uživatele Zenarchy, před 2 měsíci
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 17721036, před 2 měsíciHave used it reliably for years!
- Hodnocení: 5 z 5od uživatele Leo, před 2 měsíci
- Hodnocení: 5 z 5od uživatele keinen, před 2 měsíci
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 19942049, před 2 měsíci