theYNC Play & download

To view and download theYNC UNDERGROUND vids without Underground subscription, note that this script not give access to all bonus content, if you enjoy theYNC plz subscribe!

Verze ze dne 26. 12. 2021. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

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

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

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

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

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        theYNC Play & download
// @name:es     theYNC Ver y descargar
// @namespace   https://theync.com
// @match       https://theync.com/*
// @grant       none
// @version     1.0b
// @author      Nyarlathotep
// @description To view and download theYNC UNDERGROUND vids without Underground subscription, note that this script not give access to all bonus content, if you enjoy theYNC plz subscribe!
// @description:es Para ver y descargar los videos UNDERGROUND sin una subscripcion, notar que esto no te da acceso a todo el contenido bonus, si te gusta subscribete!
// @licence     MIT
// ==/UserScript==


$("div.item-normal.item-block.item-border.col > div.inner-block span.image img").each(function(index) {
    
  direccion = $(this).prop("src").replace("thumbs", "media").replace("thumbs", "videos");

    if (direccion.includes("mp4")){			
  
  	  $(this).closest('a').attr('href',direccion.slice(0, direccion.indexOf("mp4") + 3)).attr('target','_blank');

    }
  						
  	  if (direccion.includes("wmv")){
  				
        $(this).closest('a').attr('href',direccion.slice(0, direccion.indexOf("wmv")) + "mp4").attr('target','_blank');

      }
                

});