// ==UserScript==
// @name       GitHub HD Resolution
// @namespace
// @version    2018.09-1
// @description  Welcome to the year 2000s, HD Resolution is here !
// @match      https://github.com/*
// @copyright  2018+, Omnimed.com
// @require        https://code.jquery.com/jquery-3.3.1.min.js
// ==/UserScript==

(function() {
    'use strict';

    $('.container-lg').css('max-width', 'none');
    $('.container').css('width', '95%');
    $('#js-repo-pjax-container').css('width', '95%');
    $('.js-quote-selection-container').css('width', '87%');

    $('.repository-with-sidebar .repository-sidebar').css({
        'float': 'right',
        'width': '38px',
        'overflow': 'hidden'
    });

    $('.edit-comment-hide').css({'height': '50px'});

    $('.repository-with-sidebar .repository-sidebar span:not(.octicon, .url-box-clippy)').css('display', 'none');
    //$('.repository-content, .context-loader-container').css('width', '97%');
    $('#files .diffstat+.css-truncate-target').removeClass('css-truncate css-truncate-target');
    $('span.css-truncate-target').removeClass('css-truncate css-truncate-target');
    $('.container .discussion-timeline').removeClass('discussion-timeline');
    $('.repo-label').remove();

    $(document).bind('DOMSubtreeModified', function() {
        $('.container-lg').css('max-width', 'none');
        $('.container').css('width', '95%');
        $('#files .diffstat+.css-truncate-target').removeClass('css-truncate css-truncate-target');
        $('span.css-truncate-target').removeClass('css-truncate css-truncate-target');
        $('.container .discussion-timeline').removeClass('discussion-timeline');
    });

    $("<style type='text/css'> .clearfix::before{ display:none !important;} </style>").appendTo("head");
    $("<style type='text/css'> .clearfix::after{ display:none !important;} </style>").appendTo("head");

})();

@@ -84,17 +84,17 @@
 2018.09-
-1
+2
 %0A// @des
@@ -348,784 +348,286 @@
     
-$('.container-lg').css('max-width', 'none');%0A    $('.container').css('width', '95%25');
+var resize = function() %7B
 %0A    
+  
 $('
-#js-repo-pjax-container').css('width', '95%25');%0A    $('.js-quote-selection-container').css('width', '87%25');%0A%0A    $('.repository-with-sidebar .repository-sidebar').css(%7B%0A        'float': 'right',%0A        'width': '38px',%0A        'overflow': 'hidden'%0A    %7D);%0A%0A
+.container.new-discussion-timeline.experiment-repo-nav').width('98%25');%0A 
     
+ 
 $('.
-e
 di
-t-comment-hide').css(%7B'height': '50px'%7D);%0A%0A    $('.repository-with-sidebar .repository-sidebar span:not(.octicon, .url-box-clippy)').css('display', 'none');%0A    //$('.repository-content, .context-loader-container').css('width', '97%25');%0A    $('#files .diffstat+.css-truncate-target').removeClass('css-truncate css-truncate-target');%0A    $('span.css-truncate-target').removeClass('css-truncate css-truncate-target
+scussion-timeline.pull-discussion-timeline.js-pull-discussion-timeline.js-quote-selection-container.js-review-state-classes.is-review-pending').width('80%25
 ');%0A
+  
     
@@ -643,158 +643,25 @@
 iner
- .discussion-timeline').removeClass('discussion-timeline');%0A    $('.repo-label').remove();%0A%0A    $(document).bind('DOMSubtreeModified', function() %7B%0A  
+').width('98%25');%0A
     
@@ -685,36 +685,22 @@
 g').
-css('max-width', 'none
+width('98%25
 ');%0A
-  
     
@@ -718,16 +718,19 @@
 iner
+-lg
 ').css('
 widt
@@ -725,16 +725,20 @@
 ').css('
+max-
 width', 
@@ -742,10 +742,11 @@
 ', '
-95
+100
 %25');
@@ -754,491 +754,112 @@
     
+%7D;%0A%0A
     $(
-'#files .diffstat+.css-truncate-target').removeClass('css-truncate css-truncate-target');%0A        $('span.css-truncate-target').removeClass('css-truncate css-truncate-target');%0A        $('.container .discussion-timeline').removeClass('discussion-timeline');%0A    %7D);%0A%0A    $(%22%3Cstyle type='text/css'%3E .clearfix::before%7B display:none !important;%7D %3C/style%3E%22).appendTo(%22head%22);%0A    $(%22%3Cstyle type='text/css'%3E .clearfix::after%7B display:none !important;%7D %3C/style%3E%22).appendTo(%22head%22
+document).bind('DOMSubtreeModified', function() %7B%0A        resize();%0A    %7D);%0A%0A    $(resize()
 );%0A
-%0A
 %7D)()

Update GithubHD.js