Vurdering for Tampermonkey
Tampermonkey av Jan Biniok
4 568 vurderingar
- Vurdering: 5 av 5av 大shax, eit år sidan
- Vurdering: 5 av 5av lmtcx, eit år sidan
- Vurdering: 5 av 5av ken, eit år sidan
- Vurdering: 5 av 5av Firefox-brukar 18494342, eit år sidan
- Vurdering: 5 av 5av Firefox-brukar 13963776, eit år sidan
- Vurdering: 5 av 5av Firefox-brukar 15294176, eit år sidan
- Vurdering: 5 av 5av ZhangMouRen, eit år sidan
- Vurdering: 5 av 5av Firefox-brukar 18521872, eit år sidan
- Vurdering: 5 av 5av Firefox-brukar 18513844, eit år sidan
- Vurdering: 5 av 5av Firefox-brukar 17550135, eit år sidan
- Vurdering: 5 av 5av RexZero, eit år sidan
- Vurdering: 5 av 5av Firefox-brukar 18499411, eit år sidan
- Vurdering: 5 av 5av Ph1, eit år sidan
- Vurdering: 5 av 5av Igor Oliveira, eit år sidan
- Vurdering: 5 av 5av fhardy, 2 år sidan
- Vurdering: 5 av 5av Firefox-brukar 18490300, 2 år sidan
- Vurdering: 5 av 5av 满穗, 2 år sidan
- Vurdering: 5 av 5av Kalinka74, 2 år sidan
- Vurdering: 5 av 5av Paulo Pereira, 2 år sidan
- Vurdering: 5 av 5av cnb, 2 år sidan
- Vurdering: 5 av 5av Sergey Novoseltsev, 2 år sidan
- Vurdering: 5 av 5av DannSKiller, 2 år sidanAfter 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';
}
});
});
})(); - Vurdering: 5 av 5av Kuyglitlbf, 2 år sidan
- Vurdering: 5 av 5av abdalla.rabie, 2 år sidan
- Vurdering: 5 av 5av SaplinG, 2 år sidan