MAX30 / forum2x2Tools

// ==UserScript==
// @name forum2x2Tools
// @description Tools for service forum2x2
// @version 1.0
// @author  Max Max
// @license MIT
// @include http://*.forum2x2.com
// @include http://*.forum2x2.com/*
// @include http://*.forum2x2.net
// @include http://*.forum2x2.net/*
// @match http://*.forum2x2.com
// @match http://*.forum2x2.com/*
// @match http://*.forum2x2.net
// @match http://*.forum2x2.net/*
// @icon http://im0.all-up.com/static/images/sigle.png
// ==/UserScript==

if(window.self!=window.top){return}if(!window.location.href.match(/forum2x2/)){return}
function _css(b){var a=document.head||document.getElementsByTagName("head")[0];if(a){var c=document.createElement("style");c.type="text/css";c.appendChild(document.createTextNode(b));a.appendChild(c)}}function _ce(a){return document.createElement(a)}function _id(a){return document.getElementById(a)}(X={version:"1.0",error:function(a){},init:function(){try{this.getValues();this.createDiv()}catch(a){this.error(a)}},goToTop:function(){var c,a,e=200,d=0,b;c=_ce("span");c.innerHTML='<div id="updown" class="up" onclick="scroll(0,0); return false"></div>';document.body.appendChild(c);a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABfCAIAAADnB0fmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAHS5JREFUeNrsXAl4G9W1nk2bZUneJO82dhJncXZnjx3b2RdCGgihBdrS98r3lrbvtYWW0pY++tp+Xb627/FKgaaspYXSAgkJCRAIBEgI2e1sdrzbsrzJ1r7O+s69s0iRnZDQhBBA33g8Go1Gc/855z/nP/dIpCRJxNV+NLbtbett3Fj7dYqkr+6VMFcdC5e79S+7fzES6LOYM1fO/dLVvRjy6lpHMOL7+dNfPNH+LlxFeprtnlsfnz1x2VW8HuoqfjbHxx/b+YPG9ndzs4vHXVcZi4cfeek7zqGzn1I4tr7zuzcOP2MymJfX3Hjz2jsL88t63a0Pb73LExz41MHxbuOLf93zG5qi6xZcX1E23Wyyra69OcvqaGh9+69v/AoM51MER3P34Udf/mGcjVZNq543vY4X2DgbKXSUr6jbZDSYXznw5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/acBdfmqeR+m083HErJkfoMjkRp9jPrSKGPsVqrPp1wJDUIndvU/mmFgyCuTOpxpQKthKvEhKLctYYWuUOKUBugEp3pyYfhPYlCmVYZUn8NBn2l4QrlYVcCDklHGa1Gu0SoI5EISVXlScMjkjp+VDRkmEhcKlRf0vr5leMlkaQYhtZfA3Cg/lbULSgY9WY1U0ptcUreoX1RgZDEROVNSv6Ki9bipRXv5V+T4tVCyccSDrl6NeIfaOtu+BB9Jh8uvkTiocsLCHOZrgw9eIE9evrNI6f2qDs/AkRInmcv44+bMpdy81PXkkp8OkY3vby2sXUvnhahieT+H+mc2JgixpKeJE+MSOfGjvMGUkHkp1xXPr6giud5QRC0G6NtaNmatvMD8B09z6INMnnAeMIRrcd8Vf5mucvdGmPDajogiWrQUOlC5ZKU/6PHLCUmIRNfbSC1KqGkjRM+JNOaV5g9jhPYZBRS4MBT21TK02S7ToVDSnrII5c3NCy0w1K2tfei7y2gQiZmRVEaDWvyRgoYydsp34VIXic/lccDQwSeAmeRJ+q0cZIXfMhvJxPfE6ESkMk2pgGRYhEp+5N3jn6MeVgKmucxLgWRMe/w6OEljydlbCmIpLyUfMxow1HgGD2eixnnxR822rjGxOXCRj7meMa81WO+93yHpe5Mue7RljLmrR7tO+eD6XxklGwaY4aMCxDBBaxjtLFc2KBSTSnFh7WxJUNzAcq4wFAv4BSpLHoe7rgAfVwApjG5AxVZaTqZX1JAVNYXuEXJl65RTAoQY4beMQc/JomOfjomm44JzWgIUgBK2Z/sIJcQaC8+DUkB4nz3/2K2L4BI8tOLtJ0xD76Yx/8LMABeognSvFnGnQAAAABJRU5ErkJggg==";c="#updown {z-index: 69; position: fixed; display: none; width:90px; height:95px; bottom: 60px; right: 30px; cursor: pointer;}";c+=".up {margin: 0; padding-left: 0px;background:url("+a+") no-repeat; width:90px; height:95px; }";_css(""+c);b=_id("updown");b.style.display=(window.pageYOffset>e?"block":"none");window.onscroll=function(){b.style.display=(window.pageYOffset>e?"block":"none")}},hideChat:function(){var c,d,e,a='//div[@class="panel row3"]',b='//div[@class="page-bottom"]/strong';node_count=document.evaluate(b,document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);c=document.evaluate(a,document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);if(node_count.snapshotLength>0){d=node_count.snapshotItem(0).innerHTML;if(Number(d)<1){if(c.snapshotLength>0){e=c.snapshotItem(0);e.innerHTML="";console.log("ФОРУМ: скрыт чат, пользователей нет: "+d)}}}},shareCSS:function(){},shareForms:function(){},createDiv:function(){var b,a;a=_id("login_popup");if(a){a.style.display="none";console.log("ФОРУМ: скрыто всплывающее окно")}if(!_id("logout")){return}this.shareCSS();this.shareForms();this.hideChat();this.RegisterContextMenu();b.addEventListener("click",function(c){try{c.cancelBubble=true}catch(c){X.error(c)}},false);console.log("ФОРУМ: все формы загружены")},getValues:function(){window.addEventListener("beforeunload",function(a){_css=null;unsafeWindow=null;X=null},false);console.log("ФОРУМ: все значения загружены")},RegisterContextMenu:function(){}}).init();