MaxWidth for WikiPedia

It will set a max width of wikipedia for better readibility.

As of 18.11.2014. See апошняя версія.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name           MaxWidth for WikiPedia
// @author         h.zhuang
// @version        2014.11.18
// @description    It will set a max width of wikipedia for better readibility.
// @lastchanges    Initial release
// @namespace      wikipedia.org
// @grant  GM_addStyle
// @include       http://wikipedia.org/*
// @include       https://wikipedia.org/*
// @include       http://*.wikipedia.org/*
// @include       https://*.wikipedia.org/*
// ==/UserScript==

GM_addStyle("#mw-head-base {display:none;}\
           #content,#bodyContent {max-width:760px !important;}\
            #mw-content-text {max-width:680px !important;}\
            .mw-body {max-width:999px !important;}");