Safari 6 (OS X Mountain Lion): Develop menu

Safari Develop menu

The Develop menu provides tools for web developers who are creating websites for Safari and OS X.

Note: If the Develop menu does not appear in the menu bar, open Safari preferences, click Advanced, and select “Show Develop menu in menu bar.”
Option Description

Open Page With

Lets you open the displayed webpage using a different web browser on your computer. All web browsers on your computer are listed in the submenu.

User Agent

Lets you change how your web browser is identified by the web server. Use this option to “spoof” the web server into thinking that you’re using a different browser, operating system, or version of Safari, so you can investigate whether the server is providing different content under varying conditions.

Show Web Inspector

Opens the Web Inspector. The Web Inspector lists the resources found on a webpage, such as documents, style sheets, and scripts. It lets you view and search the page’s source code, Cascading Style Sheet (CSS) information, Document Object Model (DOM) trees, visual DOM metrics, and DOM properties. The Web Inspector also contains an error console and network timeline.

Show Error Console

Opens the Web Inspector’s error console, which displays HTML and XML syntax errors and warnings. The error console also displays JavaScript errors and other messages from console.log, console.error, console.warn, console.assert, and

Show Page Source

Opens the Web Inspector to show the HTML source code for the main frame of the displayed webpage.

Show Page Resources

Shows a list of webpage resources in the Web Inspector’s sidebar.

Show Snippet Editor

Opens a window you can use to quickly test small fragments of HTML without opening an entire webpage.

Show Extension Builder

Opens the Extension Builder, a tool used by developers to package and provide metadata for extensions they create.

Start Profiling JavaScript

Starts recording a profile of any JavaScript scripts being run by the current webpage. To view the recorded profile, choose Develop > Stop Profiling JavaScript.

Start Timeline Recording

Starts recording timelines in the WebKit Inspector for Network Requests, Layout & Rendering, and JavaScript & Events. To stop recording, choose Develop > Stop Timeline Recording.

Empty Caches

Empties the webpage cache and other Safari caches.

Disable Caches

Causes Safari to retrieve a subresource from the web server each time the subresource is accessed, rather than using a cached copy.

Disable Images

Causes Safari to show the alternate content for images instead of the images themselves. This is useful for making sure your webpage has appropriate alternate content.

Disable Styles

Causes Safari to ignore all CSS styles. This is useful for investigating some types of page layout problems on your website. If you have a style sheet set in the Advanced pane of Safari preferences, it continues to be used.

Disable JavaScript

Causes Safari to ignore all JavaScript. This is useful for investigating certain problems with how parts of websites behave, and for testing how a website performs on web browsers that don’t support JavaScript or have JavaScript disabled. You can also turn JavaScript off and on in the Security pane of Safari preferences.

Disable Site-specific Hacks

Some versions of Safari contain special-case code that allows certain webpages to behave normally while Apple engineers work with you to find a better long-term solution. This option turns off that special-case code, so you can test your long-term solutions.

Disable Local File Restrictions

Causes Safari to treat all files on your Mac as being of the same origin, so that these files can access each other’s content via scripting or XHR. This enables a copy of a website on your Mac to function as if it were on the Internet.

Enable WebGL

Turns on WebGL, an experimental feature in Safari, so web developers can try it out. For information about WebGL, visit the WebGL website at

Last Modified: Aug 14, 2012

Additional Product Support Information