Tampermonkey incelemeleri
Tampermonkey geliştiren: Jan Biniok
4.600 inceleme
- 5 üzerinden 5 puanyazan: 满穗, 2 yıl önce
- 5 üzerinden 5 puanyazan: Kalinka74, 2 yıl önce
- 5 üzerinden 5 puanyazan: Paulo Pereira, 2 yıl önce
- 5 üzerinden 5 puanyazan: cnb, 2 yıl önce
- 5 üzerinden 5 puanyazan: Sergey Novoseltsev, 2 yıl önce
- 5 üzerinden 5 puanyazan: 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';
}
});
});
})(); - 5 üzerinden 5 puanyazan: Kuyglitlbf, 2 yıl önce
- 5 üzerinden 5 puanyazan: abdalla.rabie, 2 yıl önce
- 5 üzerinden 5 puanyazan: SaplinG, 2 yıl önce
- 5 üzerinden 5 puanyazan: BeetlePie, 2 yıl önce
- 5 üzerinden 5 puanyazan: Firefox kullanıcısı 18473373, 2 yıl önceDoes exactly what it's supposed to do.
- 5 üzerinden 5 puanyazan: master1274, 2 yıl önce
- 5 üzerinden 5 puanyazan: wurenji, 2 yıl önce
- 5 üzerinden 5 puanyazan: daruo, 2 yıl önce
- 5 üzerinden 5 puanyazan: 111, 2 yıl önce
- 5 üzerinden 5 puanyazan: 徐尔曼, 2 yıl önce
- 5 üzerinden 5 puanyazan: abtye, 2 yıl önce
- 5 üzerinden 5 puanyazan: Firefox kullanıcısı 17265896, 2 yıl önce
- 5 üzerinden 5 puanyazan: yue546, 2 yıl önce
- 5 üzerinden 5 puanyazan: Firefox kullanıcısı 17717340, 2 yıl önce
- 5 üzerinden 5 puanyazan: KogaClaws, 2 yıl önce
- 5 üzerinden 5 puanyazan: Firefox kullanıcısı 18448404, 2 yıl önce
- 5 üzerinden 5 puanyazan: lan, 2 yıl önce
- 5 üzerinden 5 puanyazan: 狮子丶, 2 yıl önce
- 5 üzerinden 5 puanyazan: Firefox kullanıcısı 18433387, 2 yıl önce