vkAdblockJS

block ads in vk.com

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==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://greatest.deepsurf.us/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);
    });