<!-- version: 1.0.0 -->
<!-- tag: layout, profile, design -->
<!-- excerpt: Making the best out of screen real estate on Stack Exchange -->

## Screenshot / Code Snippet

Profile page gap removal (before and after):

<img src="https://i.sstatic.net/cBLCy.png" width="300" alt="profile page with the gap (before)" />
<img src="https://i.sstatic.net/LpAu3.png" width="300" alt="profile page without the gap (after)" />

Profile page width restriction removal:

<img src="https://i.sstatic.net/uHpG4.png" width="600" alt="profile page full width" />

Activity tab making better use of screen space:

<img src="https://i.sstatic.net/HByhc.png" width="600" alt="activity tab full width" />

Top bar menu stretching the full width of the viewport (before and after):

<img src="https://i.sstatic.net/kAVVq.png" width="600" alt="top menu full width" />
<img src="https://i.sstatic.net/VWTFi.png" width="600" alt="top menu without the userscript" />

## About

The recent [change to the profile page][1] layout in the name of "responsiveness" fails to properly use the screen real estate. Instead of waiting 6 to 8 weeks or the heat death of the universe*, you can use this simple userscript to make things right today. 

The userscript is a living project, so more features will be added as we go. Please note that this script does not bring back removed stats, do check out https://stackapps.com/q/9074/78873 if you want them back too.

### License

The script is licensed under the [GPL-3.0-or-later][2] license.

### Download

[Install][3] | [Minified][4]

The script *doesn't need* a userscript manager to work (but includes necessary headers).

### Platform

Version number means "last tested on":

| Chrome | Opera | Firefox | Edge | IE |
| - | - | - | - | - |
| ✔ 92.0.4515.107 | ✔ 77.0.4054.203 | ✔ 89.0 | ✔ 92.0.902.55 | no |

Userscript managers:

| Greasemonkey | Tampermonkey | Violentmonkey |
| - | - | - |
| ✔ 4.11 | ✔ 31 | ✔ 2.13.0** |

Works well with:

| Userscript | Features | Author | Tested Version |
| - | - | - | - |
| [Make better use of the space in profiles][5] | Restores right sidebar on user profile and adds several UTC-based timestamps | [Little Nuts][6] | 1.1 |
| [Legacy Profiles][7] | Allows you to see the user creation date, profile view count and when the user was last seen | [Spectric][8] | 1.4 |

## Change log

| Version | Description |
| - | - |
| 0.11.0 | significantly improved fullwidth styling |
| 1.0.0 | improved compatibility layer to better align with other userscripts |

<sub>Changelog prior to the last minor version can be found [in the revision history][9]</sub>

## Contact

Author: [Oleg Valter][10]
<br>Organization: [UserScripters][11]

Please, submit bug reports [on the source repository](https://github.com/userscripters/bring-back-layout).
<br>Before adding a new one, please check if it hasn't been raised before.

You can also [drop by to chat][12], we are a friendly bunch.

## Code

[Source code][13] written in TypeScript. 

Contributions are welcome, you can always [submit a PR here][14].

---

\* credit goes to [Scratte][15]<br>
\*\* thanks to [Kevin M. Mansour][16] for testing this out


  [1]: https://meta.stackexchange.com/q/368285/786798
  [2]: https://spdx.org/licenses/GPL-3.0-or-later
  [3]: https://github.com/userscripters/bring-back-layout/raw/master/dist/index.user.js
  [4]: https://github.com/userscripters/bring-back-layout/raw/master/dist/index.min.user.js
  [5]: https://stackapps.com/q/9080/78873
  [6]: https://stackapps.com/users/66653/little-nuts
  [7]: https://stackapps.com/q/9074/78873
  [8]: https://stackapps.com/users/76056/spectric
  [9]: https://stackapps.com/posts/9078/revisions
  [10]: https://stackoverflow.com/users/11407695/oleg-valter
  [11]: https://github.com/userscripters
  [12]: https://chat.stackoverflow.com/rooms/214345/userscript-newbies-and-friends
  [13]: https://github.com/userscripters/bring-back-layout/blob/master/src/index.ts
  [14]: https://github.com/userscripters/bring-back-layout/pulls
  [15]: https://chat.stackoverflow.com/transcript/214345?m=52761915#52761915
  [16]: https://stackoverflow.com/users/14945696/