matushl / Messenger width adjustment

// ==UserScript==
// @name         Messenger width adjustment
// @namespace    https://www.facebook.com/
// @version      0.1
// @description  Lower the width of displayed screen on Messenger's website.
// @author       matushl
// @match        https://www.facebook.com/messages*
// @grant        GM_addStyle
// @license      MIT
// ==/UserScript==

(function () {
  'use strict';

  // Wait for the page to load
  window.addEventListener('load', function () {
    // Adjust the CSS of the target element
    GM_addStyle('body > div:nth-child(1) > div { max-width: 1956px; margin: 0px auto; }');
  });
})();