KimCartoonAntiEarrape

Removes earrape intro from KimCartůn.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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);
     }
  }
}