The AT&T BGW-210 Home Gateway has screens such as NAT Table that are narrow and require extreme scrolling to view all the columns, which are very annoying.
NAT Table Page for AT&T BGW-210 Router by aiyagari
Details
Authoraiyagari
LicenseApache 2.0
Categoryattlocal.net
Created
Updated
Size670 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
The AT&T BGW-210 Home Gateway has a NAT Table screen which is extremely narrow and requires extreme scrolling to view all the columns, which is very annoying. I wanted it to just display the table fully, like a spreadsheet, without horizontal scrolling (and if needed the browser's own scrolling could take care of it). This meant overriding the fixed pixel widths to "auto" and repositioning the help panel.
As an update, I changed the regex to accommodate all the .ha screens, and it works well with the help moved to the bottom. If you don't like it, change it back to URL and make it "nattable.ha" rather than the regex to only affect the NAT Table screen.
Only useful if you have AT&T as your ISP. It may be useful for other models of their routers as I have seen that the management software is largely similar.
Source code
/* ==UserStyle==
@name 192.168.1.254 - 8/16/2022, 1:32:21 PM
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document regexp("http://192.168.1.254/cgi-bin/[_0-9a-z]*.ha") {
/* Insert code here... */
div#wrapper,
div#whole-page,
div#main-content,
div#header,
div#tab-container,
div#top-navigation,
div#secondary-nav,
div#content,
div.section-content,
div.scroller {
width: auto !important;
}
div#help {
float: inline-start !important;
width: auto !important;
}
}