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';
}
});
});
})();
5290 recenzji
- Ocena: 5/5Autor: skyc8266, 1 dzień temu
- Ocena: 4/5Autor: Strangueloop, 2 dni temu
- Ocena: 5/5Autor: Viktor, 3 dni temu
- Ocena: 5/5Autor: yogi, 4 dni temu
- Ocena: 5/5Autor: Thesatan666, 4 dni temu
- Ocena: 5/5Autor: Maciej, 13 dni temu
- Ocena: 5/5Autor: feelc, 15 dni temu
- Ocena: 5/5Autor: NOIN, 15 dni temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 13135296, 17 dni temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 20015873, 18 dni temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 14604126, 18 dni temu
- Ocena: 5/5Autor: SEBAS204, 22 dni temu
- Ocena: 5/5Autor: Nikitamce, miesiąc temuРаботает в фаерфокс намного лучше с скриптами чем виолет манки. Проверил на скриптах стима. Так что всем советую
- Ocena: 5/5Autor: Mobina, miesiąc temu
- Ocena: 5/5Autor: 靜瑟之風, miesiąc temu
- Ocena: 5/5Autor: Konrad Papala, miesiąc temu
- Ocena: 5/5Autor: Человек найух а не Фаерфокс user 19966279, miesiąc temuУстановил его и моге переводить видео без ЯГовно
- Ocena: 5/5Autor: ok, miesiąc temu
- Ocena: 4/5Autor: Użytkownik Firefoksa 16410709, miesiąc temu
- Ocena: 5/5Autor: avtxr, 2 miesiące temu
- Ocena: 5/5Autor: 终极虫, 2 miesiące temu
- Ocena: 5/5Autor: Zenarchy, 2 miesiące temu