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';
}
});
});
})();
5229 recenzji
- Ocena: 4/5Autor: Carlos Páez, 3 dni temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 13035229, 4 dni temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 18699594, 5 dni temu
- Ocena: 5/5Autor: Antonio Johns, 9 dni temu
- Ocena: 5/5Autor: Yuri, 12 dni temu
- Ocena: 5/5Autor: Saphir, 12 dni temu
- Ocena: 5/5Autor: Marlon Ruiz, 14 dni temu
- Ocena: 5/5Autor: SergioDT, 25 dni temuEssential. I can't imagine the internet without this extension.
- Ocena: 5/5Autor: biki, miesiąc temu
- Ocena: 5/5Autor: Fabax, miesiąc temuUserscript manager of choice since greasemonkey (sadly) doesn't cut it anymore with newer scripts.
- Ocena: 5/5Autor: Użytkownik Firefoksa 19602270, miesiąc temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 17775866, miesiąc temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 14835773, miesiąc temu
- Ocena: 5/5Autor: ace, miesiąc temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 18303502, miesiąc temu
- Ocena: 5/5Autor: dRAZY99, miesiąc temu
- Ocena: 5/5Autor: Th4t, miesiąc temu
- Ocena: 5/5Autor: Lazy Cat, 2 miesiące temu
- Ocena: 5/5Autor: zzz_132, 2 miesiące temu
- Ocena: 1/5Autor: molitar, 2 miesiące temuLatest 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.
Odpowiedź autora
Data: miesiąc temuI'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/ - Ocena: 5/5Autor: jeriko, 2 miesiące temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 19560385, 2 miesiące temu