Glowfic Max-Width

Constrain the width of Glowfic posts to a constant value

  1. // ==UserScript==
  2. // @name Glowfic Max-Width
  3. // @version 1
  4. // @description Constrain the width of Glowfic posts to a constant value
  5.  
  6. // @author Nexidava
  7. // @namespace https://greasyfork.org/en/users/725254
  8.  
  9. // @match *://glowfic.com/posts/*
  10. // @icon https://www.google.com/s2/favicons?sz=64&domain=greasyfork.org
  11. // @grant none
  12. // @license GPL-3.0 <https://www.gnu.org/licenses/gpl.html>
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. var content = document.getElementById("content");
  17. content.style.maxWidth = "1000px";
  18. content.style.margin = "0 auto";
  19. })();