Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do you view source code in safari?

How do you view source code in safari?

I'm sure you can. Just can't find it.

Mac Pro, Mac OS X (10.7.4), 30" Display, 22" Cinema Display

Posted on Sep 21, 2012 11:50 AM

Reply
Question marked as Best reply

Posted on Sep 21, 2012 11:54 AM

Safari menu > Preferences > Advanced.


Check "Show Develop menu in menu bar". Close Safari's preferences.


Develop menu > Show Page Source

17 replies

Jan 7, 2013 7:23 PM in response to John Galt

John Galt wrote:


Safari menu > Preferences > Advanced.


Check "Show Develop menu in menu bar". Close Safari's preferences.


Develop menu > Show Page Source

Thanks, but I hate that opening @ the bottom. I am not a developer, I just need to see a table so I can copy it off a suppliers website. How can I get it to open in a new window like before? It's a royal pain to find what I want, as I have to scroll sideways forever. While I like ML, there are so many changes that suck that I wish Apple never made. this is one of them. I'll use FF for my source needs.

Sep 11, 2013 7:33 AM in response to tom-young

After you set your preferences to show the Develop menu and you select "Show Page Source" from the Develop menu, you get a new window of source


User uploaded file

And being a new window you can open it as wide as your monitor allows. You can also widen or reduce the width of the two right and left panels to open the center panel more.


I'm checking now for a "wrap" feature which authoring editors usually have so you don't have endless strings going to the right beyond the visible page, but can't find one. I suggest you post a new thread on this subject so you get the attention this deserves. I'd love to know this too.


Good luck.

Steven

Mar 16, 2014 12:41 AM in response to Mike_Scott

All that changing the User Agent accomplishes is to placate poorly written web pages that interrogate the client to determine which browser it's using. There is no reason to do that, but some pages will refuse to load unless the user agent string matches the arbitrary value it expects.


Change the string to whatever it wants, and the page will obediently load having determined exactly nothing about what features the browser may or may not be capable of supporting.


Read http://webaim.org/blog/user-agent-string-history/

Feb 20, 2015 4:04 AM in response to Kenneth Nielsen

Hi Kenneth,


I am running Safari Version 8.0.3 (10600.3.18) and Yosemite and was able to perform this operation. as mentioned above: Safari menu > Preferences... (⌘,) > Advanced


Check "Show Develop menu in men bar" and close Safari's preferences. If this does not work, try restarting your browser, but normally you should then see the "Develop" drop down menu in the bar between "Bookmarks" and "Window". Finally click Show Page Source.

How do you view source code in safari?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.