> If you really want to, you can put some JS right in the HTML file, immediately following the elements it is going to operate upon, changing the display of the elements before they are even rendered to the screen.
This is indeed a cool trick I have seen in use in the wild. Can it work with CSP, however?