Highlight Scrollbar and hide left bar - Invision

It makes the Invision - more friendly for developers(Inspect page - highlight scrollbar, hide left bar).

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Highlight Scrollbar and hide left bar - Invision
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  It makes the Invision - more friendly for developers(Inspect page - highlight scrollbar, hide left bar).
// @author       Paul Malyarevich
// @license      GPL-3.0
// @resource     license https://raw.githubusercontent.com/L-M-ICA40511/userscripts/master/LICENSE
// @match        https://projects.invisionapp.com/*
// @grant GM_addStyle
// @grant GM_getValue
// @grant GM_setValue
// @run-at document-start
// ==/UserScript==

(function() {
    'use strict';
    var style = document.createElement("style");
    style.innerHTML = `
        #inspect .canvas::-webkit-scrollbar-thumb{background:rgba(192, 128, 64, 0.8)!important; }
    `;
/*#inspect > inv-react-component > div > div.view-inspect > section.sidebar.sidebar-left {display: none!important}
        #inspect > inv-react-component > div > div.view-inspect > div.canvas {width:calc(100% - 220px)!important;left:0!important;}*/
    document.querySelectorAll("link[rel='stylesheet']")[0].before(style);
})();