Last Updated on 2021-09-04 by Clay
Safari browser is the default browser on Mac OS, which claims to to be more power-saving and memory-saving than Google Chrome. (However, it should be everyone's consensus that Chrome over-uses memory)
Although I am not developing website, it is inevitable that I will often check the source code of the web page when crawling.
After I am used to the Chrome browser, I have become accustomed to using Ctrl + U to quickly enter the page of the source of the web page.
Suddenly switched to Safari for a while and couldn't find where to open the source code of the webpage. After tossing for a while, I realized that I still need to set it to open it.
The following is a note about the web developer mode setting of the Safari browser, which is actually very easy.
Configure Safari Browser
Select Safari > Preferences in the upper left corner.

Advanced > Check Show Develop menu in menu bar

Next, in the top menu, you will see the Develop option, and you can open the source code of the web page to view it.

Or you can use the shortcut key option + command + u to view page source.

References
- https://osxdaily.com/2020/04/27/view-page-source-safari-mac/
- https://www.lifewire.com/view-html-source-in-safari-3469315