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 229 recenzí
- Hodnocení: 4 z 5od uživatele Carlos Páez, před 2 dny
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 13035229, před 4 dny
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 18699594, před 5 dny
- Hodnocení: 5 z 5od uživatele Antonio Johns, před 9 dny
- Hodnocení: 5 z 5od uživatele Yuri, před 11 dny
- Hodnocení: 5 z 5od uživatele Saphir, před 12 dny
- Hodnocení: 5 z 5od uživatele Marlon Ruiz, před 13 dny
- Hodnocení: 5 z 5od uživatele SergioDT, před 25 dnyEssential. I can't imagine the internet without this extension.
- Hodnocení: 5 z 5od uživatele biki, před měsícem
- Hodnocení: 5 z 5od uživatele Fabax, před měsícemUserscript manager of choice since greasemonkey (sadly) doesn't cut it anymore with newer scripts.
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 19602270, před měsícem
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 17775866, před měsícem
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 14835773, před měsícem
- Hodnocení: 5 z 5od uživatele ace, před měsícem
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 18303502, před měsícem
- Hodnocení: 5 z 5od uživatele dRAZY99, před měsícem
- Hodnocení: 5 z 5od uživatele Th4t, před měsícem
- Hodnocení: 5 z 5od uživatele Lazy Cat, před 2 měsíci
- Hodnocení: 5 z 5od uživatele zzz_132, před 2 měsíci
- Hodnocení: 1 z 5od uživatele molitar, před 2 měsíciLatest release has broken Firefox. When starting Firefox it no longer allows any network connectivity. Unable to even open google.com. Totally and utterly broke in latest update. When it does open it takes over 5 minutes sometimes before I can browse.
Odpověď vývojáře
zveřejněno před měsícemI'm not aware of any issues. Please report your issue at http://tmnk.net/bug
Also you can always rollback to the previous version here: https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/versions/ - Hodnocení: 5 z 5od uživatele jeriko, před 2 měsíci
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 19560385, před 2 měsíci