סקירות עבור Tampermonkey
Tampermonkey Jan Biniok מאת
סקירה מאת DannSKiller
דירוג 5 מתוך 5
מאת DannSKiller, לפני שנתיים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';
}
});
});
})();
5,265 דירוגים
- דירוג 5 מתוך 5מאת Robert P, לפני 6 ימים
- דירוג 5 מתוך 5מאת Mark Andrew Gerads, לפני 8 ימים
- דירוג 2 מתוך 5מאת Olcyx, לפני 9 ימיםDe temps en temps cela ralentit considérablement ma vitesse de connexion. Je sais pas pourquoi, mais j'ai l'impression que ça fait des GROS trucs en arrière-plan pour que ça fasse ralentir comme ça.
- דירוג 5 מתוך 5מאת tao, לפני 9 ימים
- דירוג 1 מתוך 5מאת zer0, לפני 10 ימיםThis Extension slop is non stop banners about anything other than just use it. You can keep your stupid banners and non stop interruptions I will look for another extension to handle scripts that this trash spam.
- דירוג 5 מתוך 5מאת TERROR, לפני 13 ימים
- דירוג 1 מתוך 5מאת משתמש Firefox 17501884, לפני חודש数ヶ月前の更新の際、これまで作ってきたユーザースクリプトのデータが全て消滅しました。
あらゆるデータベースファイル、削除されたデータ等を探しても残っておらず、途方もない損失に嘆きましたが、少しずつ復旧させてきました。
そして今日、Firefoxを再起動した際、再び何かのトラブルで全てのユーザースクリプトが消滅しました。
もうこれ以上信頼を預けることはできません。ViolentMonkey等への移行を速やかに行います。 - דירוג 5 מתוך 5מאת משתמש Firefox 12859804, לפני חודש
- דירוג 5 מתוך 5מאת משתמש Firefox 19828004, לפני חודש
- דירוג 1 מתוך 5מאת משתמש Firefox 14987899, לפני חודשApparently it is not only a mess, it's also bloated, closed source now, and has fucking Google Analytics.
- דירוג 5 מתוך 5מאת Alex, לפני חודשיים
- דירוג 5 מתוך 5מאת Pabli, לפני חודשיים
- דירוג 1 מתוך 5מאת משתמש Firefox 17710969, לפני חודשיים
- דירוג 5 מתוך 5מאת frank, לפני חודשיים
- דירוג 5 מתוך 5מאת tink., לפני חודשיים
- דירוג 5 מתוך 5מאת Adigitalnomad123, לפני חודשיים
- דירוג 5 מתוך 5מאת משתמש Firefox 18759100, לפני 3 חודשים
- דירוג 5 מתוך 5מאת Julian, לפני 3 חודשים