Skip to content

sunarch/center-body

Repository files navigation

Center Body

A Firefox Add-on to simply center <body> by pushing a toolbar button.

There are some websites that have a left-aligned body of text that can be uncomfortable to read. If you haven't encountered any, some examples include homepages / blogs of some tech people I like to read and archives of mailing lists. I find it more comfortable to center them, and this add-on makes that process the push of a button. Maybe someone else gets some use out of it too.

On add-on site: Center Body.

Compatibility

Tested with Firefox 100.0.2 under Ubuntu (Linux).

Other projects

When looking through the available add-ons I found one that does something similar: "Center Pages" (GitHub) (Add-on page) by Felix Meyer-Wolters (GitHub). It takes a different value-based approach, that is not exactly what I wanted to do. This is not an endorsement of that project, simply a mention.

License

Mozilla Public License 2.0

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.