Tag Blocker

Skips all uploads with blocked tags

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