New:Socket for Asana Is Now Available.Learn more
Get Started

YouShield - Remove Youtube Shorts

Package Overview
Versions
2
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ziyadedris@gmail.com - firefox Package Compare versions

Comparing version
3.6.4
to
3.6.5
+1
-1
content.css
html[consume_mode=false] ytd-app {
overflow: hidden;
overflow: hidden !important;
}

@@ -4,0 +4,0 @@

@@ -225,9 +225,15 @@ (async () => {

} else {
requestAnimationFrame(check);
function check() {
let shorts = document.getElementsByTagName('ytd-reel-video-renderer');
for (let i = 3; i < shorts.length; i++) shorts[i].remove();
if (shorts.length != 3) requestAnimationFrame(check);
else setTimeout(() => (requestAnimationFrame(check)), 3000);
}
const url = window.location.href;
const match = url.match(/youtube\.com\/shorts\/([a-zA-Z0-9_-]+)/);
if (match) {
const videoId = match[1];
window.location.href = `https://www.youtube.com/watch?v=${videoId}`;
}
// requestAnimationFrame(check);
// function check() {
// let shorts = document.getElementsByTagName('ytd-reel-video-renderer');
// for (let i = 3; i < shorts.length; i++) shorts[i].remove();
// if (shorts.length != 3) requestAnimationFrame(check);
// else setTimeout(() => (requestAnimationFrame(check)), 3000);
// }
}

@@ -234,0 +240,0 @@ }

{
"name": "YouShield - Remove YouTube Recommendations",
"version": "3.6.4",
"version": "3.6.5",
"description": "Clear YouTube recommendations, suggestions, shorts, and homepage",

@@ -5,0 +5,0 @@ "permissions": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet