Media is too big
VIEW IN TELEGRAM
Ryzen 7-9800X 3D & RTX4070 White Gaming PC Build
干Web端Youtube网站上恶心的Short瀑布流
即便你的IP很干净也是容易刷到简中营销号,太恶心了。有时候标题党很好分辨有时候又忍不住多看几个......
眼不见,心不烦。和抖音一样有毒,看多真的误事🤯 。浪费时间🤪
需要就直接添加到油猴新建脚本
即便你的IP很干净也是容易刷到简中营销号,太恶心了。有时候标题党很好分辨有时候又忍不住多看几个......
眼不见,心不烦。和抖音一样有毒,看多真的误事
// ==UserScript==
// @name 干油管短视频 Remove YouTube Shorts, Without Scroll Reset
// @namespace http://tampermonkey.net/
// @version 1.5
// @description 隐藏 Shorts 区块,但不影响 YouTube 滚动行为,不触发回到顶部 bug。
// @author You
// @match https://www.youtube.com/*
// @grant none
// ==/UserScript==
(function () {
'use strict';
// 使用 classList 添加隐藏样式,而不是直接 remove()
const hideElement = (el) => {
if (el && !el.classList.contains('tamper-hide')) {
el.classList.add('tamper-hide');
el.style.display = 'none';
}
};
const hideShortsElements = () => {
try {
// 隐藏 Shorts 侧边栏按钮
document.querySelectorAll('a.yt-simple-endpoint[title="Shorts"], a[aria-label="Shorts"]').forEach(el => {
const container = el.closest('ytd-mini-guide-entry-renderer, ytd-guide-entry-renderer');
if (container) hideElement(container);
});
// 隐藏 Shorts 视频卡片(含 /shorts/ 的链接)
document.querySelectorAll('ytd-rich-grid-media').forEach(el => {
const link = el.querySelector('a#thumbnail');
if (link && link.href.includes('/shorts/')) {
hideElement(el);
}
});
// 隐藏 Shorts 的专属区块(如 reels 或 rich section)
document.querySelectorAll('ytd-reel-shelf-renderer, ytd-rich-section-renderer').forEach(hideElement);
} catch (err) {
console.error('干油管隐藏 Shorts 出错:', err);
}
};
// 使用节流,避免过多触发导致页面重绘
let timeoutId = null;
const throttledHide = () => {
if (timeoutId) return;
timeoutId = setTimeout(() => {
hideShortsElements();
timeoutId = null;
}, 500); // 500ms 节流
};
const observer = new MutationObserver(throttledHide);
observer.observe(document.body, { childList: true, subtree: true });
// 页面加载后延迟初次处理
window.addEventListener('load', () => {
setTimeout(hideShortsElements, 1000);
});
})();
需要就直接添加到油猴新建脚本
Please open Telegram to view this post
VIEW IN TELEGRAM
👍22😁5💅3👨💻1
日常价
22.8元美团外卖会员年卡
https://u.jd.com/b1Xbbs6
56.8亓元芒果tv会员年卡
https://u.jd.com/b6Xb8hp
138元爱奇艺vip会员年卡
https://u.jd.com/bDXb6CX
130元腾讯视频年卡
https://u.jd.com/b1XHzWJ
92元QQ音乐年卡
https://u.jd.com/b1X49jX
22.8元美团外卖会员年卡
https://u.jd.com/b1Xbbs6
56.8亓元芒果tv会员年卡
https://u.jd.com/b6Xb8hp
138元爱奇艺vip会员年卡
https://u.jd.com/bDXb6CX
130元腾讯视频年卡
https://u.jd.com/b1XHzWJ
92元QQ音乐年卡
https://u.jd.com/b1X49jX
🤮1
Please open Telegram to view this post
VIEW IN TELEGRAM
🤷♀15💅5❤1👍1🍌1
MJJ出征
硬盘流量升级
Basic VPS - Self-managed - POWERBOX-30-1536
SSD: 30 GB RAID-10
RAM: 1536 MB
CPU: 1x Intel Xeon
Transfer: 1500 GB/mo
Link speed: 2.5 Gigabit
Location: Los Angeles, DC99
折扣后:41.95USD/年
选购链接:(主站)
https://bandwagonhost.com/aff.php?aff=60379&pid=153
瓦工防墙镜像站:
温馨提示:使用网页自动保存密码的只对应域名,所以必须牢记小号账号密码,当然也可以作为验证是否为瓦工镜像网站(肯定没问题的)
https://bwh1.net/aff.php?aff=60379&pid=153
https://bwh8.net/aff.php?aff=60379&pid=153
https://bwh88.net/aff.php?aff=60379&pid=153
https://bwh89.net/aff.php?aff=60379&pid=153
https://bwh81.net/aff.php?aff=60379&pid=153
选购指南:不管你是新老用户,请使用全新邮箱登录注册搬瓦工(后期不要或者出掉会很便利)常见邮箱申请有微软outlook Gmail icloud申请
循环折扣码(优惠码):
BWHCGLUKKB (6.78%)在原先27刀 35刀 基础上流量硬盘增加。
且本次新款无需邀请码。放开卖
区域为DC9衍生区( DC99)不可换机房。线路优化一致。目前已知开出为志强CPU(比洋垃圾E5强些)
Please open Telegram to view this post
VIEW IN TELEGRAM
🍌9⚡5🌭4💅4🗿4
This media is not supported in your browser
VIEW IN TELEGRAM
😁19🤡11💅10💯2🤷♂1
MJJ出征
狗东车厘子 199元10斤 均价20。 不算大粒。量大管饱,今年价格波动不大,别家的把控不太行还是自营算了。档次为丐版J级,再小就没肉了。吃货看看 https://u.jd.com/sOnPaJV
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🤮3