Tampermonkey incelemeleri
Tampermonkey geliştiren: Jan Biniok
DannSKiller adlı kullanıcının incelemesi
5 üzerinden 5 puan
yazan: DannSKiller, 2 yıl önceAfter 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.244 inceleme
- 5 üzerinden 5 puanyazan: Yanyi, 5 gün önce
- 5 üzerinden 5 puanyazan: Firefox kullanıcısı 18759100, 10 gün önce
- 5 üzerinden 5 puanyazan: Julian, 14 gün önce
- 5 üzerinden 1 puanyazan: RenzoBenzo, 16 gün önceClosed source, bloated, uses google analytics, and did I mention it's closed source and uses google analytics. I would suggest users not use this extension, and use FireMonkey or ViolentMonkey instead.
- 5 üzerinden 5 puanyazan: Firefox kullanıcısı 19743679, 23 gün önce
- 5 üzerinden 5 puanyazan: DrBeaker, 25 gün önce
- 5 üzerinden 5 puanyazan: Firefox kullanıcısı 10447271, bir ay önce
- 5 üzerinden 5 puanyazan: Desire, bir ay önce
- 5 üzerinden 5 puanyazan: Firefox kullanıcısı 19729411, bir ay önce
- 5 üzerinden 5 puanyazan: Firefox kullanıcısı 19709889, bir ay önceReally efficient. This is my new obsession.
- 5 üzerinden 5 puanyazan: Breno, bir ay önce
- 5 üzerinden 5 puanyazan: left2crazy, 2 ay önce
- 5 üzerinden 5 puanyazan: melodic mustox, 2 ay önceThanks 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.
- 5 üzerinden 4 puanyazan: Carlos Páez, 2 ay önce
- 5 üzerinden 5 puanyazan: Firefox kullanıcısı 13035229, 2 ay önce
- 5 üzerinden 5 puanyazan: Firefox kullanıcısı 18699594, 2 ay önce
- 5 üzerinden 5 puanyazan: Antonio Johns, 3 ay önce