Recensioni per Tampermonkey
Tampermonkey di Jan Biniok
Recensione di DannSKiller
Valutata 5 su 5
di DannSKiller, un anno faAfter 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.154 recensioni
- Valutata 5 su 5di Utente Firefox 19084268, 2 giorni fa
- Valutata 5 su 5di alfa, 4 giorni fa
- Valutata 1 su 5di LaserMoai, 6 giorni fa
- Valutata 5 su 5di zhou, 8 giorni fa
- Valutata 5 su 5di Mike, 9 giorni fa
- Valutata 5 su 5di Utente Firefox 18590030, 10 giorni fa
- Valutata 5 su 5di Utente Firefox 19072892, 10 giorni fa
- Valutata 5 su 5di Utente Firefox 19071894, 10 giorni fa
- Valutata 1 su 5di Utente Firefox 19069891, 11 giorni fa
- Valutata 5 su 5di 肉肉, 13 giorni fa
- Valutata 5 su 5di Utente Firefox 19061799, 13 giorni faEsta corrompida não está ser possível instalar
- Valutata 5 su 5di Donnymk, 15 giorni fa
- Valutata 5 su 5di susu, 17 giorni fa
- Valutata 5 su 5di Utente Firefox 19051547, 18 giorni fa
- Valutata 5 su 5di Utente Firefox 19049340, 18 giorni fa
- Valutata 1 su 5di Ajaypal singh, 19 giorni fa
- Valutata 5 su 5di aleksandr-kulishov, 21 giorni fa
- Valutata 5 su 5di zylx, 23 giorni faA Must-Have for Web Customization
Tampermonkey is an absolutely indispensable browser extension that truly puts you in control of your web Browse experience. If you've ever thought, "I wish this website did this," or "I'd love to change that," Tampermonkey is the powerful tool that makes it possible.
Its core strength lies in its ability to run userscripts—small pieces of JavaScript code that can modify web pages as they load. This opens up a world of possibilities: from adding new features to your favorite sites, blocking persistent pop-ups, simplifying complex interfaces, or even integrating data from different sources. The vast and active community of userscripts means you can often find ready-made solutions for common needs, or easily tweak them to fit your specific requirements.
Managing your scripts is straightforward, and the built-in editor, while initially appearing a bit technical, is surprisingly robust. It offers syntax highlighting and basic debugging, making script development much more manageable. I've found Tampermonkey to be remarkably reliable and consistently performant across various browsers. It runs silently in the background, only activating when needed, without any noticeable performance overhead.
For anyone who wants to tailor the web to their exact preferences and go beyond standard browser settings, Tampermonkey is an essential addition. It empowers you to make your Browse more efficient, enjoyable, and personalized. - Valutata 5 su 5di NightLight, 24 giorni fa
- Valutata 5 su 5di Utente Firefox 17692832, un mese fa
- Valutata 5 su 5di Quitanell, un mese fa
- Valutata 5 su 5di 👑KingamerSchool🦊, un mese fa