KimCartoonAntiEarrape

Removes earrape intro from KimCartůn.

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

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

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 KimCartoonAntiEarrape
// @namespace KimCartoonBoiz
// @description Removes earrape intro from KimCartůn.
// @description:en Removes earrape intro from KimCartůn.
// @author TitoDick69XLoliFan420Fakfest
// @include http://kimcartoon.*/*
// @include https://kimcartoon.*/*
// @include http://www.kimcartoon.*/*
// @include http://www.kimcartoon.*/*
// @include http://rapidvideo.*/*
// @include https://rapidvideo.*/*
// @include http://www.rapidvideo*/*
// @include https://www.rapidvideo.*/*
// @version 0.69m9
// @grant none
// ==/UserScript==
  var myelementz = [];
  var thresh=6;

setInterval(function(){
   ProcezzVideoz(document);
},350);

function ProcezzVideoz(docme)
{
     var lizt = document.getElementsByTagName("video");
    for (i = 0; i < lizt.length; i++) {
      if(lizt[i].currentTime<thresh)
       {
         lizt[i].currentTime=thresh;
       }
      if(myelementz.indexOf(lizt[i].getAttribute("src"))<0)
     {
       myelementz.push(lizt[i].getAttribute("src"));
       lizt[i].addEventListener('loadedmetadata', function() {
         if(this.playing)
         {
           this.currentTime = thresh;
         }
         }, false);
     }
  }
}