This commit is contained in:
Unkas Amanjolov 2024-10-07 10:35:06 +05:00
parent 42b29defae
commit 0fc1955313
7 changed files with 1 additions and 100 deletions

View File

@ -1 +1 @@
{"options":{"check_for_updates":true,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":[],"orig_includes":[],"orig_matches":["https://aliexpress.ru/order-list?*ilterName=active"],"orig_noframes":null,"orig_run_at":"document-idle","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null,"sandbox":null,"tab_types":null,"unwrap":null,"user_modified":1711513302652},"settings":{"enabled":false,"position":18},"meta":{"name":"Ali Get Track Number","uuid":"7b2679e7-5cd7-45ce-8e3e-e78d7ad64cee","modified":1711513302650}} {"options":{"check_for_updates":true,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":[],"orig_includes":[],"orig_matches":["https://aliexpress.ru/order-list?*ilterName=active"],"orig_noframes":null,"orig_run_at":"document-idle","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null,"sandbox":null,"tab_types":null,"unwrap":null,"user_modified":1711513302652},"settings":{"enabled":false,"position":18},"meta":{"name":"Ali Get Track Number","uuid":"7b2679e7-5cd7-45ce-8e3e-e78d7ad64cee","modified":1711513302650,"file_url":"https://mygit.lkaz.ru/lukas91/js-tampermonkey-public-scripts/raw/branch/main/Ali%20Get%20Track%20Number.user.js"}}

View File

@ -1 +0,0 @@
{"options":{"check_for_updates":true,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":[],"orig_includes":[],"orig_matches":["https://mail.yandex.kz/?uid=*"],"orig_noframes":null,"orig_run_at":"document-idle","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null,"sandbox":null,"tab_types":null,"unwrap":null,"user_modified":null},"settings":{"enabled":true,"position":17},"meta":{"name":"Yandex.Mail - Убрать лишнее рекламы на почте","uuid":"e5600f9b-d02d-4416-b5b0-a808cc4fe1dc","modified":1709396592798}}

View File

@ -1 +0,0 @@
{"ts":1709396799973,"data":{}}

View File

@ -1,46 +0,0 @@
// ==UserScript==
// @name Yandex.Mail - Убрать лишнее рекламы на почте
// @namespace http://tampermonkey.net/
// @version 2024-02-12
// @description try to take over the world!
// @author LukasEndigo™
// @match https://mail.yandex.kz/?uid=*
// @icon https://www.google.com/s2/favicons?sz=64&domain=yandex.kz
// @grant none
// ==/UserScript==
(function() {
setTimeout(function() {
try {
const elementsToRemove = document.querySelectorAll('div[style="width: 100%;"]');
elementsToRemove.forEach(element => {
let parent = element;
for (let i = 0; i < 5; i++) {
parent = parent.parentNode;
if (!parent) break; // Проверка на случай, если уровень родителя не существует
}
if (parent) {
parent.remove();
}
});
} catch {}
}, 3000);
setTimeout(function() {
try {
const elementsToRemove = document.querySelectorAll('div[style="width: 100%;"]');
elementsToRemove.forEach(element => {
let parent = element;
for (let i = 0; i < 5; i++) {
parent = parent.parentNode;
if (!parent) break; // Проверка на случай, если уровень родителя не существует
}
if (parent) {
parent.remove();
}
});
} catch { console.log('блок уже удален') }
}, 9000);
})();

View File

@ -1 +0,0 @@
{"options":{"check_for_updates":true,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":[],"orig_includes":[],"orig_matches":["https://www.youtube.com/results?search_query=irDA+windows+software"],"orig_noframes":null,"orig_run_at":"document-idle","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null,"sandbox":null,"tab_types":null,"unwrap":null,"user_modified":null},"settings":{"enabled":true,"position":19},"meta":{"name":"Удалить блок Рекомендации","uuid":"66dbe732-dfa6-4661-a6fc-8924a33ef810","modified":1709396614232}}

View File

@ -1 +0,0 @@
{"ts":1709396799974,"data":{}}

View File

@ -1,49 +0,0 @@
// ==UserScript==
// @name Удалить блок Рекомендации
// @namespace https://github.com/le91
// @version 1.0
// @description Удалить блок Рекомендации где выводиться всякая хуйня!!!
// @author Lukas Endigo
// @match https://www.youtube.com/results?search_query=irDA+windows+software
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
function startRemove(){
//============================================================
var contentsElement = document.getElementById('contents');
if (contentsElement) {
var spans = contentsElement.querySelectorAll('.style-scope.ytd-item-section-renderer');
spans.forEach(function(span) {
// Проверить, начинается ли текст span с "Рекомендации"
if (span.innerText.trim().startsWith('Рекомендации')) {
//console.log(span.innerText);
span.remove();
}
});
}
//============================================================
}
// удалить новости с правой части экрана
setTimeout(function() {
try {
startRemove()
} catch { console.log('блок уже удален первый эпат') }
}, 3000);
setTimeout(function() {
try {
startRemove()
} catch { console.log('блок уже удален второй эпат') }
}, 13000);
})();