Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name New Userscript
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @match https://btc-e.com/exchange/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- $(function(){
- $("div#header").remove();
- $("div#footer").remove();
- $("div#content > div:eq(0) > div.block:eq(0)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(1)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(1)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(3)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(3)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(3)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(3)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(3)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(3)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(3)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(4)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(4)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(4)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(4)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(4)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(4)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(4)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(4)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(4)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(4)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(5)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(5)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > ul.pairs > li:eq(5)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div.inblock:eq(0) > h1:eq(0)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div.inblock:eq(0) > div.order_header:eq(0)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div.inblock:eq(0) > table:eq(0)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div.inblock:eq(1)").css("float", "left");
- $("div#content > div:eq(0) > div.block:eq(0) > div.clear").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div.inblock:eq(1) > h1:eq(0)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div.inblock:eq(1) > div.order_header:eq(0)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div.inblock:eq(1) > table:eq(0)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div.inblock:eq(0) > div.inblock:eq(0) > h3").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div.inblock:eq(1) > div.inblock:eq(0) > h3").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div.inblock:eq(2) > h3").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > p.inblock:eq(0)").remove();
- $("div#content > div:eq(1) > div.block:eq(2)").remove();
- $("div#content > div:eq(1) > div.block:eq(2)").remove();
- $("div#content > div:eq(1) > div.block:eq(2)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div.inblock:eq(3) h3").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div.inblock:eq(3)").prependTo("div#content > div:eq(1)");
- //$("div#content > div:eq(1) > div:eq(0)").css("display", "none");
- $("<div class=\"inblock\"><div style=\"overflow: auto; max-height: 200px;\"><table id=\"big_trades_history\" style=\"width: 100%;\" class=\"table\"><thead><tr><th>Дата</th><th>Тип</th><th>Цена</th><th>Кол-во</th><th>Всего</th></tr></thead><tbody></tbody></table></div></div>)").prependTo("div#content > div:eq(1)");
- function filter_big_trades() {
- var trs, filtered = [];
- trs = $("#trade_history table tbody tr");
- for (var i = 0; i < trs.length; i++) {
- var volume = parseFloat($(trs[i]).find("td:eq(3)").text().split(" "));
- if (volume > 3)
- filtered.push(trs[i]);
- }
- return $(filtered);
- }
- setInterval(function() {
- filter_big_trades().prependTo("table#big_trades_history tbody");
- }, 300);
- $("div#content > div:eq(1) > div:eq(0)").css("padding-top", "15px");
- $("div#content > div:eq(1) > div:eq(0)").click(function() {
- $("div#content > div:eq(1) > div:eq(0) table").toggle();
- });
- $("div#content > div:eq(1) > div:eq(1)").css("padding-top", "15px");
- $("div#content > div:eq(1) > div:eq(1)").click(function() {
- $("div#content > div:eq(1) > div:eq(1) table").toggle();
- });
- $("div#content > div:eq(1) > div.block:eq(0)").css("margin-right", "0");
- $("div#content").width("100%");
- $("div#content > div:eq(0)").width("1000px");
- $("div#content > div:eq(1)").width("585px");
- $("div#content > div:eq(0) > div.block:eq(0) > div:eq(0)").remove();
- $("div#content > div:eq(0) > div.block:eq(0) > div:eq(0) > div:eq(0)").width("988px");
- $("div#content > div:eq(0) > div.block:eq(0) > div:eq(0) > div:eq(0)").height("600px");
- $("div#content > div:eq(0) > div.block:eq(0) > div:eq(0) > div:eq(0) > div:eq(0)").width("988px");
- setInterval(function() {
- $("div#content > div:eq(0) > div.block:eq(0) > div:eq(0) > div:eq(0) iframe").width("982px");
- $("div#content > div:eq(0) > div.block:eq(0) > div:eq(0) > div:eq(0) iframe").height("600px");
- $("#nChat").width("574px");
- $("#nChatCon").width("574px");
- $("#nChat").height("175px");
- $("#nChatCon").height("175px");
- $("#nChatCon img.main-s-settings").css("margin-left", "534px");
- $("#nChatInput").remove();
- }, 1000);
- });
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement