vkAdblockJS

block ads in vk.com

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 vkAdblockJS
// @description  block ads in vk.com
// @author Vovk Igor
// @license MIT
// @version 1.4
// @require  https://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js
// @include https://vk.com/*
// @namespace https://greasyfork.org/users/123043
// ==/UserScript==

var func = function(){
    
   //блокує рекламу зліва під меню
   $("#ads_left").hide();
   
   //блокує історію зверху
   $(".stories_feed_wrap").hide();
    
   //блокує репост спільнотою спільноти
   $("div[class^='feed_repost']").hide();
    
   //блокує платну рекламу в новинах
   $(".wall_marked_as_ads").parent().parent().parent().parent().parent().hide();
    
};

   //блокує історію зверху
   $(".stories_feed_wrap").hide();

    $(document).ready(function() 
    {
       func();
       setInterval(func,1000);
    });