Most people here are probably aware that it is a good idea to have javascripts disabled in the browser by default, selectively allowing javascripts by trusted entities on trusted web sites when necessary. Similar to cookies, javascripts are usually only necessary when signing into an account on a web site. By disabling javascripts, web sites load much quicker and are generally more enjoyable in their static state. Disabling javascripts also has the benefit of protecting privacy by blocking ads, trackers, and most fingerprinting.
Most of us have likely encountered at least one web site that attempts to block access if javascripts are disabled. Many of these web sites have a blank page that overlays the actual web page, usually with a loading indicator of some sort and a message demanding that you enable javascripts in order to access the web site. With the uBlock Origin browser extension installed, one can simply right-click the web page and select the uBlock Origin menu item to block the element, revealing the actual web page underneath the blank overlay. This can also be done to block loading indicators and any other elements of a web site that hide content or are otherwise undesired by the user. Some web sites use more sophisticated methods to block users. When I encounter such a web site, I usually close the tab, as these web sites are not worth my time.
I was surprised to discover that Purism’s public GitLab page (https://source.puri.sm/public) uses Cascading Style Sheets (CSS) to block access if javascripts are disabled. In order to unblock the web page, the user needs to block CSS on the page. This can be done by selecting View in the menu toolbar, then selecting Page Style, and finally selecting No Style. This process has to be done every time source.puri.sm is loaded in a new tab or window.
Ironically, this is difficult to do on a Librem 5 if the menu toolbar is hidden by default, as pressing the Alt key on the Librem 5 keyboard does not make the menu toolbar appear, and having the menu toolbar unhidden by default leaves less space for web content on an already small display. Another method to block CSS on a web page involves using the uMatrix browser extension which has recently been discontinued. One can also use a terminal web browser like w3m which does not have the ability to load CSS, but this solution is also rather inconvenient.
Frustratingly, blocking CSS does not unblock the entire web page, so there is still plenty of content that remains hidden and inaccessible. In contrast, GitHub, now owned by the untrustworthy Microsoft company, does not appear to block users if javascripts are disabled.
I realize that this malicious web design is a product of GitLab rather than Purism, but I wonder what Purism could do to allow their public resources to be easily accessible by the public.
Thoughts?