Twitter

Twitter voller Bildschirm - 4k Untersütztung

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

"use strict";

// ==UserScript==
// @name        Twitter
// @description Twitter voller Bildschirm - 4k Untersütztung
// @version     1.0.1
// @author      Nexarius
// @include     *twitter.com*
// @require     https://code.jquery.com/jquery-3.2.1.min.js
// @grant       none
// @namespace https://greasyfork.org/users/212703
// ==/UserScript==

var styleSheet = `
.AppContainer {
    max-width:90%;
}
body:not(.ProfilePage) #page-container {
    width:90%;
}
.ProfileCanopy-header {
    max-width:100vw;
}
.dashboard {
    width:25%;
}
#permalink-overlay-dialog,
#page-container > #timeline {
    width:calc(50% - 20px);
}
.permalink-container {
    width:100%;
}
.PermalinkOverlay-modal {
    left:36%;
}
.AdaptiveMedia {
    max-width:100%;
    max-height:25vw !important;
}
.AdaptiveMedia-triplePhoto {
    width:100%;
    height:25vw;
}
.js-macaw-cards-iframe-container {
    min-height:unset !important;
}
`;

(function () {
  var s = document.createElement('style');
  s.type = "text/css";
  s.innerHTML = styleSheet;
  (document.head || document.documentElement).appendChild(s);
})();