您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Удаляет посты из сообществ, попавшие в Горячее.
当前为
// ==UserScript== // @name Remove Communities from Pikabu // @version 0.3 // @description Удаляет посты из сообществ, попавшие в Горячее. // @author Neur0toxine // @license WTFPL // @include *//pikabu.ru/* // @grant GM_addStyle // @namespace https://greasyfork.org/users/12790 // @run-at document-start // ==/UserScript== (function() { 'use strict'; var cssText = '.search-result-communities, '; cssText += 'a[href="http://pikabu.ru/communities"][class="no_ch"], '; cssText += 'td[class="rating_bl b-community-top-caption"] {display:none!important}'; GM_addStyle(cssText); 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(); $('.story__sponsor,.story__gag-nice').closest('.story').remove(); $(document).ajaxComplete(function(){$('.story__sponsor,.story__gag-nice').closest('.story').remove();});} remove_posts_by_communities_tag(); window.onload = function(){$(document).ajaxComplete(remove_posts_by_communities_tag);remove_posts_by_communities_tag();}; })();