Greasy Fork is available in English.

block promoted

block promoted v0.3

Від 11.01.2016. Дивіться остання версія.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @author     Giel
// @name       block promoted
// @version    0.3
// @description  block promoted v0.3
// @match      https://*.twitter.com/*
// @match      http://*.twitter.com/*
// @copyright  You
// @namespace  https://twitter.com
// @grant      none
// ==/UserScript==
 

    
$('.js-action-profile-promoted').each(function(i, val){
  $(this).click()
 //$document.getElementsByTagName('.promoted-tweet')[0]
  $('.promoted-tweet')[0]
  $('.profiletweet-actionbutton').click()
  $('.block-link').click()
  $($('.block-button')[0]).click()
});