NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name JRB
// @namespace https://openuserjs.org/users/ghost4luck
// @version 0.1
// @description be better
// @author ghost4luck
// @copyright 2018, ghost4luck (https://openuserjs.org/users/ghost4luck)
// @license MIT
// @include *reactor.cc*
// @include *joyreactor.cc*
// @include *jr-proxy.com*
// @icon http://joyreactor.cc/favicon.ico
// @grant none
// ==/UserScript==
(function() {
'use strict';
$(document).ready(function() {
// do not run in frames
if (window.self != window.top) return;
// kill bottom ad
$('#post_list').nextUntil('#Pagination.pagination').remove();
//kill sides
$('#sidebar').children().each(function(){
var $el = $(this);
var need = $el.hasClass('sidebar_block');
if (!need) { $el.remove(); }
});
//kill posts
$('#post_list').children().each(function() {
var $el = $(this);
var need = $el.hasClass('postContainer') || $el.hasClass('comment');
if (!need) { $el.remove(); }
});
//hide donation
$('form#payment').closest('.sidebar_block.trends_wr').hide();
//toogle pagination
$('#Pagination.pagination').find('.pagination_toggler').click();
});
})(window);