Bitrix decrapifier

Hides the annoying side panels

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Bitrix decrapifier
// @namespace   com.firefueled.biitrixdecrapifier
// @include     https://*.bitrix24*/*
// @version     6
// @grant       GM_addStyle
// @description Hides the annoying side panels
// ==/UserScript==

var styles = " \
.bx-layout-inner-left { \
  padding: 0; \
  width: 0; \
} \
 \
.bx-layout-inner-left, #bx-im-bar { \
  visibility: collapse; \
} \
 \
.bx-layout-inner-table { \
    padding-left: 3em; \
    padding-right: 3em; \
} \
 \
table.bx-layout-inner-inner-table td.bx-layout-inner-inner-cont { \
  padding: 0; \
} \
 \
td.bx-layout-inner-inner-cont { \
  padding: 0; \
} \
 \
#bx-help-start.bx-help-start { \
  visibility: hidden; \
} \
 \
div.user-block { \
  width: auto; \
} \
 \
a.upgrade-btn.upgrade-btn-en { \
  visibility: hidden; \
} \
 \
div#header-inner { \
  padding-right: 128px; \
} \
 \
.timeman-expired #timeman-background { \
    background-color: transparent; \
    border-color: transparent; \
}";

GM_addStyle(styles);