Đánh giá cho Tampermonkey
Tampermonkey bởi Jan Biniok
Đánh giá bởi Robi
Xếp hạng 5 trong số 5
bởi Robi, một năm trước4.784 đánh giá
- Xếp hạng 5 trong số 5bởi Người dùng Firefox 18521872, 2 ngày trước
- Xếp hạng 5 trong số 5bởi Người dùng Firefox 18513844, 8 ngày trước
- Xếp hạng 5 trong số 5bởi Người dùng Firefox 17550135, 9 ngày trước
- Xếp hạng 5 trong số 5bởi RexZero, 9 ngày trước
- Xếp hạng 5 trong số 5bởi Người dùng Firefox 18499411, 12 ngày trước
- Xếp hạng 5 trong số 5bởi Ph1, 14 ngày trước
- Xếp hạng 5 trong số 5bởi Igor Oliveira, 15 ngày trước
- Xếp hạng 5 trong số 5bởi fhardy, 21 ngày trước
- Xếp hạng 1 trong số 5bởi Lex, 23 ngày trước
- Xếp hạng 5 trong số 5bởi Người dùng Firefox 18490300, 23 ngày trước
- Xếp hạng 5 trong số 5bởi 满穗, 24 ngày trước
- Xếp hạng 5 trong số 5bởi Kalinka74, một tháng trước
- Xếp hạng 5 trong số 5bởi Paulo Pereira, một tháng trước
- Xếp hạng 5 trong số 5bởi cnb, một tháng trước
- Xếp hạng 5 trong số 5bởi Sergey Novoseltsev, một tháng trước
- Xếp hạng 5 trong số 5bởi DannSKiller, một tháng trướcAfter 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';
}
});
});
})(); - Xếp hạng 5 trong số 5bởi Kuyglitlbf, một tháng trước
- Xếp hạng 5 trong số 5bởi abdalla.rabie, một tháng trước
- Xếp hạng 1 trong số 5bởi Rock duende, một tháng trước
- Xếp hạng 5 trong số 5bởi SaplinG, một tháng trước
- Xếp hạng 3 trong số 5bởi Người dùng Firefox 18474980, một tháng trước
- Xếp hạng 5 trong số 5bởi BeetlePie, một tháng trước
- Xếp hạng 5 trong số 5bởi Người dùng Firefox 18473373, một tháng trướcDoes exactly what it's supposed to do.
- Xếp hạng 5 trong số 5bởi master1274, một tháng trước