Tampermonkey에 대한 리뷰
Tampermonkey 제작자: Jan Biniok
DannSKiller 님의 리뷰
5점 만점에 5점
DannSKiller 님, 7달 전After 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';
}
});
});
})();
리뷰 4,976개
- 5점 만점에 5점shenan 님, 4시간 전
- 5점 만점에 5점Firefox 사용자 18777218 님, 6시간 전
- 5점 만점에 1점Firefox 사용자 18783421 님, 하루 전
- 5점 만점에 5점Firefox 사용자 18783138 님, 하루 전
- 5점 만점에 5점Asano 님, 하루 전
- 5점 만점에 5점Nardultian III 님, 3일 전I'm new to Linux, like days new... I know nothing about scripting or coding 'm like a ****** child when it comes to computer stuff. But, Tampermonkey makes it so easy. thx guys
- 5점 만점에 5점anelly 님, 4일 전
- 5점 만점에 5점Firefox 사용자 18753032 님, 4일 전
- 5점 만점에 5점eric.delcroix 님, 4일 전
- 5점 만점에 4점ginocic 님, 5일 전
- 5점 만점에 5점Yosef-Cathal 님, 6일 전
- 5점 만점에 4점Firefox 사용자 18624661 님, 6일 전
- 5점 만점에 5점Firefox 사용자 17847549 님, 12일 전
- 5점 만점에 5점stlee42 님, 12일 전
- 5점 만점에 5점Firefox 사용자 18754798 님, 13일 전
- 5점 만점에 5점Firefox 사용자 18762783 님, 14일 전
- 5점 만점에 5점Firefox 사용자 18451223 님, 14일 전
- 5점 만점에 5점sgtgurvan 님, 14일 전
- 5점 만점에 5점WinRAR 님, 15일 전
- 5점 만점에 5점Firefox 사용자 14550688 님, 15일 전
- 5점 만점에 5점Zyz725 님, 17일 전
- 5점 만점에 5점Esi Zaghi 님, 18일 전I am very grateful to the creator of this plugin. It has helped me in many ways.