To view the source code, follow the below instructions:
- Open Safari (duh!)
- Click the “Add Bookmark” button in Safari.
- Give the bookmark whatever name you wish; I chose the title “View Source”.
- In the address bar of your new bookmark, paste the following code:
- Now just navigate to whichever page you wish to view the source of, click the bookmarks button, and select your new View Source bookmark.