I recently came across a fairly modern looking website that blocked my right click and displayed an alert “you’re not allowed to view this sites source code”. I could not help but to laugh out loud
Javascript hijacking right click is prevented by shift-right click in Firefox.
At some point the website is sending you HTML and JS to be interpreted on your computer.
It doesn't seem particularly unreasonable that a company dealing with sensitive data would want to prevent their less computer-educated employees from falling for self-XSS attacks
The given reason to disable view source itself was "students are able to find Google Form Quiz answers in source code" which is pretty ridiculous.
Also something about getting past a really broken web filter.
Or maybe that was already an option to disable by admins before this