Tag Blocker

Skips all uploads with blocked tags

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

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

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==
// @author Frubi
// @version 1.1
// @name Tag Blocker
// @description Skips all uploads with blocked tags
// @description:de Überspring alle Uploads mit geblockten Tags
// @include *://pr0gramm.com/*
// @grant none
// @namespace Violentmonkey Scripts
// ==/UserScript==
// 

// To add more: simply put a comma behind the second last tag and paste your tag between ""
// Note: only 1 tag in a pair of ""
let tags = 
[
  "schmuserkadser",
  "big enough"
];

let a;
setInterval(function() 
  {
    a = document.getElementsByClassName('tag-link');
    let b = Math.min(5, a.length);
    tagLoop:
    for ( let i = 0 ; i < b ; i++ )
      {
          for ( let j = 0 ; j < tags.length ; j++)
          {
              if(a[i].text.toLowerCase().indexOf(tags[j]) !== -1)
              {
                $('.stream-next').click();
                break tagLoop;
              }
          }
        
      }
  }, 500);