Remove Communities from Hot [Pikabu]

Удаляет посты из сообществ, попавшие в Горячее.

目前為 2016-06-29 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Remove Communities from Hot [Pikabu]
// @version      0.2
// @description  Удаляет посты из сообществ, попавшие в Горячее.
// @author       Neur0toxine
// @license      WTFPL
// @include      *//pikabu.ru/
// @include      *//pikabu.ru/hot
// @grant        none
// @namespace https://greasyfork.org/users/12790
// ==/UserScript==

(function() {
    'use strict';
    function remove_posts_by_communities_tag() {$('a[href="http://pikabu.ru/communities"][class="no_ch"]').remove();
        $('td[class="rating_bl b-community-top-caption"]').closest('div').remove();
        $('a[href^="/community"]').closest('.story').remove();}
    window.onload = function(){$(document).ajaxComplete(remove_posts_by_communities_tag);remove_posts_by_communities_tag();}; 
})();