Pohódnoćenja za Tampermonkey
Tampermonkey wot Jan Biniok
Pohódnoćenje wot DannSKiller
Z 5 z 5 pohódnoćeny
wot DannSKiller, 2 წლის წინ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.257 pohódnoćenjow
- Z 1 z 5 pohódnoćenywot cba012, 5 დღის წინHas hidden Google Analytics and is close-source - no thanks. An extension of this privilege level needs to be fully transparent. It also begs for donations at an abnormally high rate.
Use ViolentMonkey instead. - Z 1 z 5 pohódnoćenywot Wužiwar Firefox 17501884, 8 დღის წინ数ヶ月前の更新の際、これまで作ってきたユーザースクリプトのデータが全て消滅しました。
あらゆるデータベースファイル、削除されたデータ等を探しても残っておらず、途方もない損失に嘆きましたが、少しずつ復旧させてきました。
そして今日、Firefoxを再起動した際、再び何かのトラブルで全てのユーザースクリプトが消滅しました。
もうこれ以上信頼を預けることはできません。ViolentMonkey等への移行を速やかに行います。 - Z 5 z 5 pohódnoćenywot Wužiwar Firefox 12859804, 9 დღის წინ
- Z 5 z 5 pohódnoćenywot Wužiwar Firefox 19828004, 14 დღის წინ
- Z 5 z 5 pohódnoćenywot Rackmani, 16 დღის წინGreat to allow me to add a script to stop a copy paste block on a certain website where other extns were failing
- Z 1 z 5 pohódnoćenywot Wužiwar Firefox 14987899, 17 დღის წინApparently it is not only a mess, it's also bloated, closed source now, and has fucking Google Analytics.
- Z 5 z 5 pohódnoćenywot Alex, 23 დღის წინ
- Z 5 z 5 pohódnoćenywot Pabli, 24 დღის წინ
- Z 1 z 5 pohódnoćenywot Wužiwar Firefox 17710969, 25 დღის წინ
- Z 5 z 5 pohódnoćenywot Adigitalnomad123, თვის წინ
- Z 5 z 5 pohódnoćenywot Wužiwar Firefox 18759100, 2 თვის წინ
- Z 5 z 5 pohódnoćenywot Julian, 2 თვის წინ
- Z 1 z 5 pohódnoćenywot RenzoBenzo, 2 თვის წინClosed source, bloated, uses google analytics, and did I mention it's closed source and uses google analytics. I would suggest users not use this extension, and use FireMonkey or ViolentMonkey instead.
- Z 5 z 5 pohódnoćenywot Wužiwar Firefox 19743679, 2 თვის წინ
- Z 5 z 5 pohódnoćenywot DrBeaker, 2 თვის წინ
- Z 5 z 5 pohódnoćenywot Wužiwar Firefox 10447271, 2 თვის წინ
- Z 5 z 5 pohódnoćenywot Desire, 2 თვის წინ
- Z 5 z 5 pohódnoćenywot Wužiwar Firefox 19729411, 2 თვის წინ
- Z 5 z 5 pohódnoćenywot Wužiwar Firefox 19709889, 3 თვის წინReally efficient. This is my new obsession.
- Z 5 z 5 pohódnoćenywot Breno, 3 თვის წინ