Why? If you're like me and have limited horizontal screen-space (e.g, vertical tabs, square 4:3 secondary monitor), you might have found it a little uncomfortable to use the BeamNG forums. By default, the forums only use 80% of your screen width. This is great, since you don't have to move your eyes or mouse as much when reading or interacting with content. It can, however, make for a slightly cramped feel in the situations mentioned above. Thats why I created this simple userscript, which expands the forums to 97% of your screen width! I've also expanded various sidebars & columns to make them feel less cramped, making better use of this new space. Personally, I find this a lot more comfortable. Installation Install a userscript manager like Tampermonkey, Violentmonkey or Greasemonkey (Firefox only) In the next step, your userscript manager will automatically open a new tab - follow the instructions on-screen to install it. Click here to to install the script. If you have any BeamNG forum pages open, refresh them to view the changes. More information To toggle the script easily, you can pin your userscript manager extension to your browser toolbar. Click on it and you should see a menu allowing you to toggle the script on or off. Refresh any open BeamNG forum pages to apply changes. To verify this userscript is safe, you can view its source code here (or by scrolling down during Step 2 of the installation) This userscript is fully compatible with all "sticky" forum preferences (sticky navigation, sticky sidebar, sticky userbar). I'm aware of an issue where the large announcement panels at the top of the page sometimes have the start of the next one visible. To work around this, just press CTRL + F5. No, this userscript will not apply a dark theme to your forums. If you'd like to do that, install the Dark Reader extension. If you encounter any issues with this userscript, don't hesitate to let me know in this thread! Previews Click the button below to reveal some before/after comparisons. I've left my browser UI visible to better highlight the use-case of this userscript. Spoiler: Images (click to expand) Click an image to view it in full-screen, then use the left/right arrows to compare.
Found out how to edit violentmonkey scripts Very cool that it has the feature of changing the percentage of the forum gui
Strange, it's still working on my end with Tampermonkey on Firefox. I did notice a while ago that some specific /threads/ pages consistently wouldn't work with it. Is it not working on all pages or some specific threads for you?
Could you check if max-width is being correctly overriden to 97%? 1. CTRL + SHIFT + I on keyboard 2. CTRL + F then type pageWidth and press enter to check the value
Thanks for the pic! It seems its not being applied properly and remains at 80%. Were you using Violentmonkey all this time, and it suddenly broke? Or did you switch extensions. I actually haven't used Violentmonkey before, not sure if syntax differs with it. Either way, I'll test with it and see what I can do.
It suddenly broke. I just used to reinstall and it would temporarily work until some days ago when not even reinstalling worked
Interesting... I've not had those issues on Tampermonkey. Currently, I don't know if its a Violentmonkey issue, but it might be worth using Tampermonkey for now (if you're fine with that). Thanks for the detailed reports!
Which browser are you using? (version would be ideal too) I've just pushed an update with an attempt to resolve your issue. Check for updates in your userscript manager, and see if that resolves the issue.
Firefox - 135.0.1 (64-bits) Update also doesn't work. --- Post updated --- Don't know if it's really relevant or will fix anything in the long run, but I found out removing the "_" in "_width" fixes it apparently (though it reverts to normal after going to another page)
Thanks for your suggestion! I've just pushed another update to account for this. Let me know if it works for you. --- Post updated --- It seems that a separate issue may have caused the script to not work for you. An oversight on my part led to the script only matching https://www.beamng.com URLs, but not https://beamng.com URLs. I've just fixed this and pushed an update. Let me know if that works for you! I've also: Expanded the latest unread post overview column on the forum homepage Expanded the sidebar on user-profile pages. Hardly necessary, but now easier on the eyes in my opinion. Favoured main content on individual mod pages by not expanding the sidebar there.