Tampermonkey のレビュー
Tampermonkey 作成者: Jan Biniok
合計レビュー数: 5,140
- 5 段階中 5 の評価Firefox ユーザー 18490300 によるレビュー (1年前)
- 5 段階中 5 の評価Paulo Pereira によるレビュー (1年前)
- 5 段階中 5 の評価Sergey Novoseltsev によるレビュー (1年前)
- 5 段階中 5 の評価DannSKiller によるレビュー (1年前)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';
}
});
});
})(); - 5 段階中 5 の評価Kuyglitlbf によるレビュー (1年前)
- 5 段階中 5 の評価abdalla.rabie によるレビュー (1年前)
- 5 段階中 1 の評価Rock duende によるレビュー (1年前)
- 5 段階中 3 の評価Firefox ユーザー 18474980 によるレビュー (1年前)
- 5 段階中 5 の評価master1274 によるレビュー (1年前)
- 5 段階中 3 の評価Firefox ユーザー 17926026 によるレビュー (1年前)Stops working randomly but works again after disabling/reenabling.
- 5 段階中 5 の評価Firefox ユーザー 17265896 によるレビュー (1年前)
- 5 段階中 5 の評価Firefox ユーザー 17717340 によるレビュー (1年前)