Script Azis

Script bendecido por Azis para la eliminación de los videos codificados de Canal Plus

اعتبارا من 01-11-2019. شاهد أحدث إصدار.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==UserScript==
// @name         Script Azis
// @namespace    www.tinychat.com
// @version      0.5
// @description  Script bendecido por Azis para la eliminación de los videos codificados de Canal Plus
// @author       Circulo
// @match        https://tinychat.com/*
// @grant        none
// ==/UserScript==

var temporizador = setInterval(azis,0); // cada un tiempo mínimo, se quitan los candados

// Quita los candados de los videos
function azis() {
    'use strict';

    // HTML DOM del contenido
    var elmContenido;
    // HTML DOM que contiene la lista de ítems de vídeos
    var elmVideoList;
     // HTML DOM que contiene los ítems de vídeos
    var elmVideoItems;
    // HTML DOM que contiene el item de video que se quiere modificar para quitarle el candado
    var elmVideoItem;
    
    var numVideo;

    elmContenido = document.getElementById("content");
    elmVideoList = elmContenido.shadowRoot.querySelector("tc-videolist");
    elmVideoItems = elmVideoList.shadowRoot.querySelectorAll("tc-video-item");

    numVideo = 0;
    while(numVideo < elmVideoItems.length)
    {
        elmVideoItem = elmVideoItems[numVideo].shadowRoot.querySelector(".video");
        elmVideoItem.classList.remove("blured"); // se quita "blured" de la lista de clases del item de video, para quitarle el candado

        numVideo++;
    }

};