Safari Web Inspector Guide
|
|
|
- Angel Anissa Malone
- 10 years ago
- Views:
Transcription
1 Safari Web Inspector Guide
2 Contents About Safari Web Inspector 6 At a Glance 7 Get Started 7 Inspect the DOM and Resources 7 Measure and Improve Page Performance 7 Debug JavaScript 7 Interact with the Console 8 How to Use This Document 8 See Also 8 Get Oriented 9 Enabling Web Inspector 9 WebKit-based Apps 10 Safari on ios 10 Navigating Web Inspector 13 Positioning Web Inspector 14 Changing Toolbar Appearance 15 Reading the Activity Viewer 16 Resources and the DOM 17 Inspecting the DOM 17 Source versus DOM 17 Editing Nodes 19 Style 19 Computed 20 Rules 21 Metrics 22 Layers 23 Node 25 Resource 26 Resources and Storage 27 JavaScript and CSS 27 Storage 28 Extension Scripts 30 2
3 Contents Timelines 31 Recording Timelines 31 Network Requests 32 Layout and Rendering 33 JavaScript and Events 33 Timing Profiles 34 JavaScript Profiling 34 CSS Selector Profiling 35 Debugger 36 Breakpoints 36 Conditional Breakpoints 38 Call Stack 39 Debugger Controls 40 Scope Chain 40 Local Variables 41 Closure Variables 42 Global Variables 42 The Console 43 Command-Line API 43 Console API 45 The Develop Menu 47 Changing the User Agent String 48 Snippet Editor 50 Keyboard Shortcuts 51 Navigation Shortcuts 51 DOM Tree Shortcuts 52 Console Shortcuts 52 Debugger Shortcuts 52 Miscellaneous Shortcuts 53 Document Revision History 54 3
4 Figures, Tables, and Listings Get Oriented 9 Figure 1-1 The Advanced pane of Safari s preferences 9 Figure 1-2 The Web Inspector toolbar item 9 Figure 1-3 The activity viewer 16 Table 1-1 Toolbar icons 13 Table 1-2 Toolbar variants 15 Table 1-3 Buttons in the activity viewer 16 Resources and the DOM 17 Figure 2-1 Spacing properties are color-coded 17 Figure 2-2 Viewing the source code 18 Figure 2-3 Viewing the DOM tree 18 Figure 2-4 The Computed tab in the Style details sidebar 20 Figure 2-5 The Rules tab in the Style details sidebar 21 Figure 2-6 The Metrics tab in the Style details sidebar 22 Figure 2-7 The Layer details sidebar 24 Figure 2-8 The Node details sidebar 25 Figure 2-9 The Resource details sidebar 26 Figure 2-10 Cookies 28 Figure 2-11 The Local Storage resource 28 Timelines 31 Figure 3-1 Network requests in the Timelines navigation sidebar 32 Figure 3-2 Layout and rendering events in the Timelines navigation sidebar 33 Figure 3-3 JavaScript events in the Timelines navigation sidebar 33 Figure 3-4 Profiling JavaScript 34 Figure 3-5 Profiling CSS 35 Debugger 36 Figure 4-1 An active breakpoint on line 17 and an inactive breakpoint on line Figure 4-2 All breakpoints are listed in the navigation sidebar 37 Figure 4-3 An active and inactive breakpoint when breakpoints are disabled 37 Figure 4-4 Hovering over a variable inspects the object 38 Figure 4-5 Editing a breakpoint 38 4
5 Figures, Tables, and Listings Figure 4-6 Setting a conditional breakpoint 39 Figure 4-7 The call stack 39 Figure 4-8 Variables defined within the scope of the immediate function 41 Figure 4-9 Variables available to the current scope outside the immediate function 42 Figure 4-10 Variables in the global scope 42 The Console 43 Table 5-1 Commands available in the Web Inspector console 43 Table 5-2 JavaScript functions available in the Console API 45 Listing 5-1 Find the events attached to this element 44 The Develop Menu 47 Figure A-1 The type and version of various browsers in the User Agent submenu 49 Figure A-2 Snippet Editor can help you isolate problems with your markup 50 5
6 About Safari Web Inspector Note: This document was formerly titled Safari Developer Tools Guide. It has been updated to support Safari 6.1. Web Inspector is an open source web development tool built into Safari that makes it easy to prototype, optimize, and debug your web content on ios and OS X. Read this guide to get started using Web Inspector. 6
7 About Safari Web Inspector At a Glance Note: As a web developer, you are encouraged to live on the bleeding edge. Download the latest WebKit Nightly, the developmental branch of Safari. It contains experimental, developer-facing features, so you can try out new WebKit functionality before it reaches wider audiences. At a Glance This document is organized by areas of the Web Inspector interface. Get Started Learn how to enable and customize the appearance of Web Inspector. Relevant Chapter: Get Oriented (page 9) Inspect the DOM and Resources At the heart of Web Inspector is the ability to inspect the Document Object Model (DOM). Web Inspector shows you the structure of your DOM as perceived by Safari s rendering engine, WebKit. But the DOM isn t all you can inspect. External resources and locally stored data such as scripts, stylesheets, and offline storage can be inspected, providing insight to the data available to your web content. Relevant Chapter: Resources and the DOM (page 17) Measure and Improve Page Performance Web Inspector provides a suite of tools you can use to quantify the speed of your webpages. You can monitor network requests as they download, observe page layout calculations performed by the WebKit rendering engine, and profile the efficiency of your JavaScript functions and CSS selectors. Relevant Chapter: Timelines (page 31) Debug JavaScript Turn to Web Inspector when your front-end logic goes awry. Web Inspector offers a debugging environment that lets you pause script execution and observe the values of your variables as they are defined. 7
8 About Safari Web Inspector How to Use This Document Relevant Chapter: Debugger (page 36) Interact with the Console Lift up the hood of your webpages and interact directly with your web content in the console. Relevant Chapter: The Console (page 43) How to Use This Document When reading this document, follow along with Web Inspector open in Safari. It is recommended to actively use Web Inspector on this page while you read about its features for a hands-on learning experience. See Also WWDC 2013: Getting to Know Web Inspector provides a walkthrough of the Web Inspector UI. WWDC 2013: Getting the Most Out of Web Inspector describes advanced concepts of harnessing the power of Web Inspector to your advantage. Safari Extensions Development Guide delivers step-by-step directions for creating Safari extensions using Extension Builder. Safari Extensions Reference lists the JavaScript classes, methods, and properties you can access with Safari extensions. Safari Web Content Guide offers guidance for developing web content for ios. 8
9 Get Oriented Before you start using Web Inspector, familiarize yourself with its organization and interface. Enabling Web Inspector To start using Web Inspector, you must first enable the Develop menu. To do so, enable the Show Develop menu in menu bar setting found in Safari s preferences under the Advanced pane, as shown in Figure 1-1. Figure 1-1 The Advanced pane of Safari s preferences You can then access Web Inspector through the Develop menu that appears in the menubar, or by pressing Command-Option-I. You can also add the Web Inspector toolbar item to Safari s toolbar by selecting View > Customize Toolbar. Figure 1-2 The Web Inspector toolbar item 9
10 Get Oriented Enabling Web Inspector WebKit-based Apps To enable the developer tools in a WebKit-based application other than Safari, enter the following into the Terminal: defaults write com.bundle.identifier WebKitDeveloperExtras -bool true Replace com.bundle.identifier with the bundle identifier of your app, and then launch your app. Web Inspector can now be accessed by a Control-click or right-click from within any web view. You must also enable contextual menus in your app. Safari on ios You can use Web Inspector to debug web content on your device directly from your desktop. Note: Web Inspector is available on ios 6 and later. To enable Web Inspector on ios 1. Open the Settings app. 2. Tap Safari. 10
11 Get Oriented Enabling Web Inspector 3. Scroll down and select Advanced. 11
12 Get Oriented Enabling Web Inspector 4. Switch Web Inspector to ON. After Web Inspector is enabled, connect your device to your desktop machine with a USB cable. The name of your device appears in the Develop menu of Safari alongside all open inspectable apps and webpages. 12
13 Get Oriented Navigating Web Inspector Alternately, you can use ios Simulator to take advantage of Web Inspector s debugging capabilities, which comes free with Xcode from the Mac App Store. Use the same instructions,to enable Web Inspector on ios (page 10), from within the ios Simulator s Settings app. If you have a development provisioning profile installed on your device, you can even inspect the web content of any UIWebView object in your app. The name of your app will appear as a submenu under the name of your device. When debugging web content in a web view, Web Inspector behaves in the same manner as debugging web content in Safari. Navigating Web Inspector The toolbar icons listed in Table 1-1 are in order as they appear in Web Inspector, from left to right. Table 1-1 Icon Toolbar icons Name Resources navigation sidebar Described in Resources and the DOM (page 17) Timelines navigation sidebar Timelines (page 31) Debugger navigation sidebar Debugger (page 36) Console The Console (page 43) Inspect Inspecting the DOM (page 17) Scope Chain details sidebar Scope Chain (page 40) 13
14 Get Oriented Positioning Web Inspector Icon Name Style details sidebar Described in Style (page 19) Layers details sidebar Layers (page?) Node details sidebar Node (page 25) Resource details sidebar Resource (page 26) Positioning Web Inspector There are three positions that Web Inspector can take: docked to the bottom of the window, docked to the right of the window, or in its own window. When inspecting web content on OS X, Web Inspector is docked to the bottom of the window by default. You can detach Web Inspector into its own window by pressing the detach button ( displays. ). This mode is especially advantageous when working on a computer with multiple Note: When inspecting web content on ios, Web Inspector must be in its own window. When in its own window, Web Inspector presents another button allowing you to dock Web Inspector to the right of the window. This is particularly useful for inspecting narrow web content on wide monitors. Press the Dock to Right button ( ) to dock Web Inspector to the right side of the window. Hold down the Option key to switch docking types. 14
15 Get Oriented Changing Toolbar Appearance Changing Toolbar Appearance You can change the look and feel of the toolbar to better suit your liking. Depending on the size of your screen, you might want to adjust your toolbar to take up less space. Right-clicking anywhere on the toolbar invokes a contextual menu which allows you to change the layout and size of the toolbar icons. Possible toolbar appearances are shown in Table 1-2. By default, toolbar icons are presented with icons and text positioned vertically. Table 1-2 Toolbar variants Para Appearance Icon and Text (Vertical) Icon and Text (Horizontal) Icon only Text only You also have the option to make the icons smaller by selecting Small Icons from the contextual menu. 15
16 Get Oriented Reading the Activity Viewer Reading the Activity Viewer The activity viewer is like a heads-up display for the loaded page. It shows an at-a-glance summary of key information about the current page, as shown in Figure 1-3. Each label in the activity viewer is a button that, when clicked, takes you to an area of Web Inspector. Figure 1-3 The activity viewer Table 1-3 Item Buttons in the activity viewer Description Button action Resource count Resource size Load time Logs Errors Warnings The total number of resources. The total file size of all resources. The time elapsed until the load event. The number of logs printed to the console. The number of errors printed to the console. The number of warnings printed to the console. Opens the Resources navigation sidebar. See Resources and the DOM (page 17). Opens the Networks Requests timeline. See Network Requests (page 32). Opens the Networks Requests timeline. See Network Requests (page 32). Opens the console. See The Console (page 43). Opens the console. See The Console (page 43). Opens the console. See The Console (page 43). Note: You need to load the webpage with Web Inspector open for values to appear in the activity viewer. 16
17 Resources and the DOM The Document Object Model (DOM) is the API between your JavaScript and HTML. Each HTML element is rendered as a node in the DOM tree. Inspecting the DOM At the heart of Web Inspector is the ability to inspect, or locate within the DOM tree, a specific element on the page. After the specific element is selected in the DOM tree, details about the element become available, such as the element s styles and event listeners. Click the Inspect button, and start moving your mouse along the page. Notice that the elements you hover over becomes highlighted in a set of colors, and a tooltip appears, indicating the element s tag and total dimensions. The colors that appear upon hover represent the element s margin, border, padding, and dimensions, as illustrated in Figure 2-1. Figure 2-1 Spacing properties are color-coded With the Inspect button selected, click on this sentence. You can also right-click on this sentence and select Inspect Element in the contextual menu. Notice that the corresponding node becomes selected in the content browser. Source versus DOM The notions between a page s source and a page s DOM are similar, but different. The source is the raw HTML that is unadulterated by any client-side scripts. It is the direct response of the HTTP request to the server. The DOM, on the other hand, is the same HTML structure that has been modified by JavaScript. 17
18 Resources and the DOM Inspecting the DOM Source Code reads the page s HTML as if you opened it in a text editor. The source code reflects your HTML structure before any JavaScript is loaded. While the contents can t be edited, it s useful to see the HTML Safari receives from the server. Figure 2-2 Viewing the source code The DOM tree is fully editable. Of course, your edits are temporary, so any changes you make are lost in a browser refresh. To save changes you make to the DOM tree, select the root html node and press Command-C, which copies the DOM structure to you clipboard as HTML. Figure 2-3 Viewing the DOM tree You can switch between the page s DOM tree and source code in the Navigation bar. 18
19 Resources and the DOM Editing Nodes The Shadow DOM WebKit automatically inserts HTML in certain elements. For example, the placeholder of text inputs is actually another HTML element that is hidden within the input itself. These hidden elements are known as the Shadow DOM. You can enable viewing shadow nodes in the content browser by clicking on the Shadow DOM button ( ). Editing Nodes To edit the markup of an element, double-click an element name, attribute name, or attribute value. Alternately, you can press the Enter key to input a new attribute. You can also use the Tab key and Shift-Tab key combination to cycle through attributes. For example, inspect this paragraph and press the Enter key. You ll see a text field appear within the highlighted node. Type in class="notebox" and press Enter. A blue border appears surrounding the paragraph. That s because the notebox class is already defined in the stylesheets included in this page. Deleting the class attribute or its value restores it to its original appearance. Rearrange nodes with a simple drag and drop. Delete nodes by pressing the delete key. Try editing a couple nodes on this page inspect this paragraph, then drag it above or below other nodes in the DOM tree. You ll see the order of paragraphs change in the page to reflect the changed order in the DOM tree. All of your changes are local and won t persist across pageloads. If you want to undo a change without losing other modifications you ve made to the DOM, go to Edit > Undo (Command-Z) to undo your change. Style The Style details sidebar shows all of the CSS styles that pertain to the selected element. It also contains a series of checkboxes representing the element s active, focus, hover, and visited pseudo-state. You can select these checkboxes to enable the pseudo-state without interacting with the element directly. For example, selecting the Hover checkbox will change the appearance of the element as if the mouse cursor is hovering over it. 19
20 Resources and the DOM Style Computed The computed styles show all CSS styles associated with the selected element. It shows properties set to this specific element, as well as properties inherited from other selectors. Figure 2-4 The Computed tab in the Style details sidebar The styles displayed in the Computed tab are read-only. To edit an element s styles, go to the Rules (page 21) tab. Next to every color in the Style sidebar is a color swatch. Clicking on the square swatch cycles through different formats of expressing that color. You can cycle through Hex, RGB, RGBA, HSL, HSLA, and named color values, depending on the color in context for example, colors without alpha channels won t cycle through RGBA or HSLA; colors that don t represent an exact named color won t cycle through the named color. To see every CSS property, click on the Show All checkbox. This shows properties and their default values. 20
21 Resources and the DOM Style Rules The Rules tab lists CSS rules that pertain to the selected element. The rules are collected from inline styles, attached stylesheets, and User Agent stylesheets. User Agent stylesheets are styles that Safari itself applies, such as a default margin. Here, you can edit your styles as you would in a text editor. As you begin typing, notice that CSS properties auto-complete. As soon as your rule is valid, the style is automatically applied to the page. You can uncheck the checkbox that appears next to rules on hover to disable them, or press the Delete key to remove them entirely. Figure 2-5 The Rules tab in the Style details sidebar 21
22 Resources and the DOM Style Inspect this paragraph, then click on New Rule. Web Inspector creates a rule with a selector that matches the selected element. In this case, the element is a paragraph, so Web Inspector chose the generic p tag. Type color: red; underneath the p selector, and notice that this entire paragraph instantly turns red. Metrics The Box Model provides an easy way to visualize the dimensions of an element at a glance. From the center out, it shows the width and height, padding, border, and margin of the selected node. All of the values are editable; double-click and type in a value to see the change update immediately. As in the Rules tab, you can hold the Option key while pressing the up- or down-arrow keys to increment or decrement the current value. Figure 2-6 The Metrics tab in the Style details sidebar Inspect this sentence, and then click the Metrics tab. As you move your mouse over areas of the box model, you ll see the corresponding areas on the page flash with color. Give the padding-bottom a value by double-clicking the hyphen directly underneath the dimensions. Type in a number (50, for example) and press Enter. You ll notice the padding underneath this paragraph expand by 50 pixels. You do not need to supply a unit in the box model all values are in pixels. 22
23 Resources and the DOM Layers Adding values in the Metrics tab affects only the selected element. The values are applied as an inline style; look back in the content browser and notice that the selected node now has a style attribute. If you d like the style applied to multiple elements, you ll need to create a rule in the Rules (page 21) tab that matches a certain selector. Layers The Layer details sidebar provides information about what is composited as a layer. Elements that have a 3D transform, a fixed position, or overlap other composited elements are rendered in their own layer so that its movement during animations or scrolling can be hardware-accelerated for maximum performance. However, each layer increases the memory footprint of your webpage (significantly for layers covering a large area). You should avoid having elements in their own layer unless absolutely necessary. If your page has poor scrolling or resizing performance, check to see if any nodes are being repainted on every scroll or resize event. 23
24 Resources and the DOM Layers To see which elements on your page are rendered in their own layer, select the root html node in the content browser. Any elements composited in a layer appear here, as shown in Layers. Clicking on the row in this table causes a popover to appear, explaining the reasons for compositing. When possible, minimize the number of layers present by eliminating the element s need for compositing. Clicking the arrow that appears on hover jumps to the node s location in the content browser. Figure 2-7 The Layer details sidebar The number of element repaints is displayed next to the node name. A repaint occurs when the rendering engine assesses that a portion of the page s visual presentation needs updating for example, when a hovered link becomes underlined, or when a window resizes. Repaints are expensive operations that can negatively affect the responsiveness of your webpage as well as impact the user s battery life. To visualize the page s layers and their repaints, click the Composite Borders button ( ) in the Navigation bar. Clicking this button outlines each layer with a colored border. Large layers are divided into tiles, which also become outlined. Whenever a tile repaints, the counter in the tile s upper-left corner increments. 24
25 Resources and the DOM Node The amount of memory the element consumes is also displayed in the Layer details sidebar. The amount of memory an element consumes is determined by multiplying the product of the element s dimensions by 4 bytes (1 byte for each red, green, blue, and alpha channel). Node The Node sidebar shows information relating to the selected element s prototypal object, as shown in Figure 2-8. Figure 2-8 The Node details sidebar The Attributes section lists the names and values of HTML attributes of the selected node. These values are read-only; to edit an element s attributes, double-click the node in the content browser. 25
26 Resources and the DOM Resource The Properties section lists all available methods and properties available to the selected element, including methods and properties inherited from its parent objects. The Event Listeners section lists all JavaScript events attached to this node and its ancestors. It presents the type of event, such as click or mouseover, as well as the name of the function it calls. If your JavaScript events aren t firing as expected, check here to confirm that the element is indeed listening for the intended event and function. Resource The Resource sidebar shows information about the selected resource. You can view the full URL of the resource, as well as the server request and response headers that were sent with this resource, as shown in Figure 2-9. Figure 2-9 The Resource details sidebar 26
27 Resources and the DOM Resources and Storage Resources and Storage Resources are grouped implicitly. If there are over a certain number of resources on a page, then images, scripts, stylesheets, fonts, frames, and XHRs (XMLHttpRequests) coalesce into groups. These groups are represented by a folder. Groups do not reflect directory structure; that is to say, the organization of resources in the sidebar does not represent the path of the resource. JavaScript and CSS External JavaScript and CSS files are expanded by default. You might have minified some resources to reduce file size a common practice on the web. Web Inspector automatically expands, or pretty-prints, your minified code in order to be easier to read. To toggle between pretty-print and original formatting, click the code formatting button ( ). If source maps are present, Web Inspector splits production JavaScript and CSS into its original source files. Concatenated resources for example, ones created by a CSS preprocessor or a build script appear as a group, and the source files are listed as children. The names of source-mapped files appear throughout Web Inspector in italics; click the file name to jump to the position in the concatenated file, and Command-click the file name to jump to the position in the original source file. JavaScript files allow you to set breakpoints in the left margin. To learn more about setting breakpoints, read Breakpoints (page 36). While it s quicker to change an element s CSS rules in the Figure 2-11 (page 28) sidebar, you can also live-edit the stylesheet directly in the content browser. Select a CSS resource and begin typing, just as you would in a text editor. Note: You must view the CSS file in its original formatting (not pretty-printed) in order to live-edit a stylesheet. Changes you make to JavaScript or CSS files can easily be saved onto disk by pressing Command-S. Saving external resources with Web Inspector allows you to rapidly prototype without the need to switch back to your text editor. 27
28 Resources and the DOM Resources and Storage Storage Cookies If your website uses cookies, they appear as an offline resource in the Resources navigation sidebar. As shown in Figure 2-10, cookies are displayed in a table that lists each cookie s name, value, domain, path, expiration date, and size. Figure 2-10 Cookies Entries in this table are read-only; if you want to edit a cookie s value, you need to do so with the document.cookie object in JavaScript (you can use the Quick Console at the bottom of the content browser to modify the cookie and see the results update in real time). Pressing the Delete key while a cookie is selected deletes the cookie. Local and Session Storage If your web app uses HTML5 Web Storage, keys and values you set in your code appear in the Local Storage offline resource, as shown in Figure Local storage is displayed as an editable data grid of key-value pairs. Double-click an empty row to create a new entry, and double-click an existing entry to edit its value. Pressing the Delete key on a selected entry removes the key-value pair. Local storage provides a database of up to 5 MB per domain that persists even after Safari is quit. Figure 2-11 The Local Storage resource 28
29 Resources and the DOM Resources and Storage Session storage is also displayed as an editable data grid of key-value pairs. Unlike local storage, session storage persists for as long as the window or tab remains open. SQL Databases If your webpage uses Web SQL Databases, they appear as an offline resource under Databases in the Resources navigation sidebar. Click the Databases disclose triangle to see a list of open databases and their tables. Selecting a database table displays a data grid containing all the columns and rows for that table. In addition to inspecting HTML5 databases, you can interact with them by issuing SQL queries against any of the displayed databases. Select a database in the sidebar to see an interactive console for evaluating SQL queries. The input to this console has auto-completion and tab-completion for table names in the database, as well as common SQL keywords. 29
30 Resources and the DOM Resources and Storage Application Cache Websites that provide a manifest file can have items stored in Safari s offline application cache. On subsequent visits to the website, Safari loads these items from the cache instead of loading them from the website again. This provides a mechanism for websites to offer features such as canvas-based games that users can play, even when their device s browser has no Internet connection. You can inspect all the current contents of the application cache by clicking Application Cache. Safari shows a list of domains that have cached files. Select a domain to see the files in that domain s cache, showing the URL from which they were loaded, the type of entry the resource was specified as (explicit, manifest, master, or fallback), and the file size. When the Application Cache is selected, the Storage details sidebar is also shown. It reports if the target device is online or not, and its current status. Extension Scripts Any scripts that have loaded from an installed Safari extension appear in a group labeled Extension Scripts. For more information about Safari Extensions, read Safari Extensions Development Guide. 30
31 Timelines Web Inspector features a visual download analyzer and a JavaScript profiler to help you make your website load and your scripts run as quickly and responsively as possible. Recording Timelines Timelines are a graphical representation of activity that occurs during the lifetime of the open page. Timelines show network requests, CSS rendering, and JavaScript events. All timelines record simultaneously. You can start recording timelines two ways: Clicking the Start Recording button. This shows all activity that happens since the record button is clicked. While recording, you can interact with the page to trigger XHR loads, style recalculation, page layout and painting, and JavaScript events. Reloading the webpage while Web Inspector is open. This shows all activity as it happens during page load. To stop recording, click the Stop Recording button. The content browser shows various details depending on the selected timeline. 31
32 Timelines Recording Timelines Network Requests Figure 3-1 shows recorded network requests as blue horizontal bars. Figure 3-1 Network requests in the Timelines navigation sidebar When the Network Requests timeline is selected, the bottom portion of the content browser displays each individual file requested from the webpage. The horizontal bar graph shows you when each resource was requested, the latency of the server, and the download time for each resource. Hover over any bar to see additional details in a tooltip. The vertical dashed blue line indicates when the DOM becomes available to Safari, and is equivalent to the DOMContentLoaded JavaScript event. The red line indicates when all resources have finished loading, and is equivalent to the load JavaScript event. 32
33 Timelines Recording Timelines Layout and Rendering Just as you can see great detail about every resource that has loaded, you can see great detail about how Safari's rendering engine, WebKit, renders the page. Click on Layout & Rendering in the Timelines pane to display a table of each paint that has been rendered, as shown in Figure 3-2. Each layout calculation and paint rendering is represented by a purple horizontal bar. Figure 3-2 Layout and rendering events in the Timelines navigation sidebar JavaScript and Events JavaScript executed during a recording session is represented as a yellow horizontal bar in the timeline. Evaluated scripts, dispatched events, animation frames, and timers are listed in the table in the content browser, as shown in Figure 3-3. Figure 3-3 JavaScript events in the Timelines navigation sidebar 33
34 Timelines Timing Profiles Timing Profiles Underneath the Timelines pane in the Timelines navigation sidebar is the Profiles pane. This pane allows you to see where execution time is being spent in your JavaScript and CSS. Use the Profiles pane to find bottlenecks in your scripts and inefficiency in your CSS selectors to optimize their performance. JavaScript Profiling Profiling JavaScript exposes the bulk of your code s execution time. To use the Profiles pane, you must start profiling, either manually or by including a console.profile() call in your script. To start profiling manually, click the record button ( ) in the top right of the Profiles pane, and select Start JavaScript Profile in the resulting menu. The record button turns red ( ). To stop the profile, click the record button again. No profile is displayed until you stop profiling, either manually or through a call to console.profileend(). Each time you begin and end profiling, another profile is captured. Once you have captured one or more profiles, they are listed on the left side of Web Inspector. Manual profiles are named sequentially (JavaScript Profile 1, JavaScript Profile 2, and so on). Profiles created by calls to console.profile() are named with the title of the profile provided as an optional argument. If multiple profiles are captured under the same name, a disclosure triangle reveals multiple runs within the profile. The time spent in each function executed during the profile is displayed, as well as the number of times each function is called, as shown in Figure 3-4. The time is displayed as a percentage of total time by default, but you can view the time in seconds by clicking the percentage icon ( ). Figure 3-4 Profiling JavaScript The time spent is grouped into three categories: Self, the total time spent in the function itself; Total, the total time spent in the function and any subordinate functions it calls in turn; and Average, the average time spent in the function itself during each call (the Self time divided by the number of calls). 34
35 Timelines Timing Profiles If a function is declared with a name, the function name is displayed. If a function is created programmatically by an eval() statement or inline <script> </script> tagset, it is labeled (program) in the profile. Other unnamed functions, for example, a function defined within a variable declaration, are labeled (anonymous function). To be less vague, you can rename anonymous functions in a profile by assigning a string value to the displayname property of the function. Where applicable, the source URL and line number of the function declaration is shown in gray to the right of the function name. The source URL is a link. Clicking it opens the source in the content browser, scrolled to the line number where the function is declared. CSS Selector Profiling Just as you can profile JavaScript, you can profile CSS selectors to measure their efficiency. The more general a selector (such as a selector on a tag), the more time it takes to find all matches. More specific classes (such as an ID or class) match fewer elements, and are faster for WebKit to find. Figure 3-5 Profiling CSS 35
36 Debugger If you are getting JavaScript errors on your webpage, you can use the Debugger navigation sidebar to assist you in finding the cause of the problem. By setting breakpoints throughout your code, you can inspect the values of your variables and observe the call stack during runtime. Even if your JavaScript is minified, Web Inspector pretty-prints or expands all of your scripts, allowing you to set breakpoints on minified content. Breakpoints Breakpoints are markers you set on JavaScript resources to indicate a pause in script execution. You may already be familiar with breakpoints if you have experience with compiled programming languages. To add a breakpoint, select a JavaScript resource in the Resources navigation sidebar, and click a line number in the gutter of the content browser. A blue marker is set, indicating that script execution will pause here the next time this line runs. When a breakpoint is set, you can click it again to deactivate it, as shown in Figure 4-1. Figure 4-1 An active breakpoint on line 17 and an inactive breakpoint on line 19 Important: Setting a breakpoint on a blank line does nothing. The line that you break on must contain code, otherwise script execution won t pause at that line. After one or more breakpoints are set, reload your page. Breakpoints retain their position across page loads, so your breakpoints won t be lost. As soon as Safari s JavaScript interpreter reaches a line of code that has a breakpoint on it, JavaScript execution halts, and the Scope Chain details sidebar appears. The Scope Chain contains a snapshot of variables available to the scope of the paused line, as well as their current values. For further information about the Scope Chain details sidebar, continue to Scope Chain (page 40). 36
37 Debugger Breakpoints Every breakpoint you set across all your scripts appears under Breakpoints in the navigation sidebar, as shown in Figure 4-2. Clicking the line jumps the text in the content browser to the line with the breakpoint. The breakpoint icon to the right of the line number allows you to enable and disable the breakpoint without removing it. Figure 4-2 All breakpoints are listed in the navigation sidebar By clicking the breakpoint icon in the Breakpoints pane, you disable all breakpoints. The breakpoint locations are still saved, but JavaScript runs as if no breakpoints are set. Disabled breakpoints have a grayed-out appearance, as shown in Figure 4-3. Figure 4-3 An active and inactive breakpoint when breakpoints are disabled You can also set a breakpoint within <script> tags on HTML resources. Delete a breakpoint by selecting it in the Breakpoints pane and pressing the Delete key. You can also drag the breakpoint out of the gutter to remove it. You can set a breakpoint programmatically by calling the debugger keyword in your scripts. Don t ship this code to your customers, though, because it will break the execution of your scripts at that point. It is meant for development purposes only. 37
38 Debugger Breakpoints When a script is paused, you can hover over objects in your script to reveal a token popover containing the object s methods and properties and their values at the current time, as shown in Figure 4-4. Figure 4-4 Hovering over a variable inspects the object Conditional Breakpoints You can set breakpoints that are only active when a certain condition evaluates to be true. To do so, Right-click the breakpoint in the Debugger details sidebar and select Edit Breakpoint, as shown in Figure 4-5. Figure 4-5 Editing a breakpoint 38
39 Debugger Call Stack A popover appears, prompting you to enter a condition, as shown in Figure 4-6. Figure 4-6 Setting a conditional breakpoint The condition is scoped to the current context; any variables within current scope are available to use in this expression. If the condition evaluates to be true, the script pauses at the breakpoint; otherwise, the script continues. Call Stack The call stack lists the functions that have been called and have not yet finished returning. The most recently called functions are displayed at the top of the stack, as shown in Figure 4-7. Use this to view the order in which functions are called. Figure 4-7 The call stack When a script is paused, the call stack shows the chain of functions called to arrive at the paused line. Selecting an item in the stack jumps to where the line is declared in your scripts. 39
40 Debugger Debugger Controls Debugger Controls Use the buttons above the call stack to have line-by-line control of where the debugger pauses execution next. The buttons have the following behavior: Continue continues execution until the next breakpoint. Step over steps to the next line, without descending into any functions called on the current line. Step into steps to the next line, descending into any functions called on the current line first. If there are no function calls on the current line, this button behaves like the step over button. Step out steps to the preceding frame in the call stack. Scope Chain The Scope Chain details sidebar displays all the variables set on the page and their values at the moment in time the script is paused. Variables are organized by their scope. 40
41 Debugger Scope Chain Note: You can only access the Scope Chain details sidebar when a script is paused. Local Variables This includes all of the local variables available in the current function s scope. All variables defined within the current function have their names printed here. Their values appear if they have been set at this point; otherwise, the value is undefined. Figure 4-8 Variables defined within the scope of the immediate function There are two variables that appear in the local variables section that you don t declare explicitly: arguments and this. The arguments variable contains the values of the arguments that were passed into this function, including the implicitly available event object. this refers to the object this function is a member of (either the object that this method is attached to, or window). 41
42 Debugger Scope Chain Important: Variables set without the var keyword fall out of local scope. If you don t declare a variable with var, it appears under Global Variables instead of Local Variables. Doing so pollutes the global namespace, so you should always declare local variables with var. Closure Variables If you set a breakpoint within a closure, or anonymous function, you see variables appear in the Closure Variables section, as shown in Figure 4-9. Closures have privileged access to the scope of the outer function that calls them. Figure 4-9 Variables available to the current scope outside the immediate function Global Variables Variables attached to the global object window appear under the Global Variables section, as shown in Figure This includes global variables you define in your scripts, global variables defined in installed extensions, and methods and properties of window. Figure 4-10 Variables in the global scope 42
43 The Console The console offers a way to inspect and debug your webpages. Think of it as the Terminal of your web content. The console has access to the DOM and JavaScript of the open page. Use the console as a tool to modify your web content via interactive commands and as a teaching aid to expand your knowledge of JavaScript. Because an object s methods and properties autocomplete as you type, you can see all available functions that are valid in Safari. For example, open the console and type $$( p )[1]. ($$ is shorthand for document.queryselectorall see more shorthand commands in Table 5-1 (page 43).) Because this paragraph is the second instance of the p element on this page ([1] in a 0-based index), the node represents this paragraph. As you hover over the node, its position on the page is visibly highlighted. You can expand the node to see its contents, and even press Command-C to copy it to your clipboard. Command-Line API You can inspect HTML nodes and JavaScript objects in more detail by using the console commands listed in Table 5-1. Type the command-line APIs interactively within the console. If your scripts share the same function name as a Command-Line API function, the function in your scripts takes precedence. Table 5-1 Command $(selector ) Commands available in the Web Inspector console Description Shorthand for document.queryselector. $$(selector ) $x(xpath ) $0 $1..4 $_ Shorthand for document.queryselectorall. Returns an array of elements that match the given XPath expression. Represents the currently selected node in the content browser. Represents the last, second to last, third to last, and fourth to last selected node in the content browser, respectively. Returns the value of the last evaluated expression. 43
44 The Console Command-Line API Command dir(object ) dirxml(object ) keys(object ) values(object ) profile([title] ) profileend() geteventlisteners(object ) monitorevents(object[, types] ) unmonitorevents(object[, types] ) inspect(object ) copy(object ) clear() Description Prints all the properties of the object. Prints all the properties of the object. If the object is a node, prints the node and all child nodes. Prints an array of the names of the object s own properties. Prints an array of the values of the object s own properties. Starts the JavaScript profiler. The optional argument title contains the string to be printed in the header of the profile report. See JavaScript Profiling (page 34). Stops the JavaScript profiler and prints its report. See JavaScript Profiling (page 34). Prints an object containing the object s attached event listeners. Starts logging all events dispatched to the given object. The optional argument types defines specific events or event types to log, such as click. Stops logging for all events dispatched to the given object. The optional argument types defines specific events or event types to stop logging, such as click. Inspects the given object; this is the same as clicking the Inspect button. Copies the given object to the clipboard. Clears the console. The functions listed in Table 5-1 are regular JavaScript functions that are part of the Web Inspector environment. That means you can use them as you would any JavaScript function. For example, you can assign a chain of Console API commands to a variable to create a useful shorthand. Listing 5-1 shows how you can quickly see all event types attached to the selected node. Listing 5-1 Find the events attached to this element var evs = function () { return keys(geteventlisteners($0)); 44
45 The Console Console API }; After defining this function, inspect the magnifying glass in the top-right corner of this webpage, and type evs() in the console. An array containing the string click is returned, because there is a click event listener attached to that element. Of course, these functions shouldn t be included in your website s JavaScript files because they are not available in the browser environment. Only use these functions in the Web Inspector console. Console functions you can include in your scripts are described in Console API (page 45). Console API You can output messages to the console, add markers to the timeline, and control the debugger directly from your scripts by using the commands listed in Table 5-2. Important: These functions exist to aid development and should not be included in any of your production JavaScript. Table 5-2 Function JavaScript functions available in the Console API Description console.assert(expression, object) console.clear() console.count([title]) console.debug(object) console.dir(object) console.dirxml(node) console.error(object) console.group([title]) console.groupend() Asserts whether the given expression is true. If the assertion fails, prints the error and increments the number of errors in the activity viewer. If the assertion succeeds, prints nothing. Clears the console. Prints the number of times this line has been called. Alias of console.log(). Prints the properties and values of the object. Prints the DOM tree of an HTML or XML node. Prints a message to the console with the error icon. Increments the number of errors shown in the activity viewer. Prints subsequent logs under a disclosure of the given title. Ends the previously declared console grouping. 45
46 The Console Console API Function console.info(object) console.log(object) console.marktimeline(label ) console.profile([title] ) console.profileend([title] ) console.time(name ) console.timeend(name ) console.trace() console.warn(object ) debugger Description Alias of console.log(). Prints the object to the console with the log icon. Increments the number of logs shown in the activity viewer. Marks the Timeline with a green vertical dashed line that indicates when this line of code was called. See Recording Timelines (page 31). Starts the JavaScript profiler. The optional argument title contains the string to be printed in the header of the profile report. See JavaScript Profiling (page 34). Stops the JavaScript profiler and prints its report. See JavaScript Profiling (page 34). Starts a timer associated with the given name. Useful for timing the duration of segments of code. Stops the timer associated with the given name and prints the elapsed time to the console. Prints a stack trace at the moment the function is called. See Figure 4-2 (page 37). Prints a message to the console with the warning icon. Increments the number of warnings shown in the activity viewer. Stops JavaScript execution at the current line. This is the equivalent of setting a breakpoint programmatically. See Breakpoints (page 36). 46
47 The Develop Menu The Develop menu contains a set of tools to assist you in prototyping, debugging, and optimizing your website: Open Page With Open the current webpage in another web browser. Any app that registers as a viewer for HTTP URLs appear here. User Agent Browsers send a user agent string that identifies the browser type and version to the server. The same string is sent in response to a JavaScript request for the user agent string. Use this menu item to modify the user agent string Safari sends, to simulate visiting your site using a different browser or device type. See Changing the User Agent String (page 48). Show Web Inspector Open Web Inspector. Show Error Console Open the console in Web Inspector. See The Console (page 43). Show Page Source Open the Source Code in Web Inspector to see the HTML of the current page. See Source versus DOM (page 17). Show Page Resources Open the Resources navigation sidebar in Web Inspector to view all images, scripts, and style sheets attached to the current page. See Resources and the DOM (page 17). Show Snippet Editor Open the Snippet Editor window to interactively prototype HTML, CSS, or JavaScript snippets. See Snippet Editor (page 50). Show Extension Builder Open Extension Builder to install, modify, create, or uninstall a Safari extension. See Safari Extensions Development Guide. Start Profiling JavaScript Turn on the JavaScript profiler to see how many times each function is called, how long it takes, and so on. See JavaScript Profiling (page 34). Start Timeline Recording Record detailed information about the status of incoming HTTP requests, JavaScript events, and layout rendering. See Recording Timelines (page 31). Empty Caches Delete all caches stored by the browser. Select this if you re suspicious that your webpage is using stale cached content. Disable Caches Turn off caching to see how a website loads the first time. Select this if you re suspicious that your webpage is using stale cached content. Disable Images Turn off image display and view websites as text only. Disable Styles Turn off CSS style properties to view the page purely as HTML and JavaScript. Disable JavaScript View websites with the JavaScript interpreter disabled. 47
48 The Develop Menu Changing the User Agent String Disable Site-specific Hacks Use this to disable the modifications to Safari and test your site for correct operation (if Apple engineers have modified Safari specifically to work around a problem with your website). Disable Local File Restrictions Disable security checks that may prohibit local development. Enable WebGL Turn on the ability to view OpenGL content in Safari. Allow JavaScript in the Address Bar Allow JavaScript to be executed on the page by typing javascript: followed by a valid JavaScript expression in the Address bar. Changing the User Agent String Every browser has a user agent string that identifies its type and version number. The browser sends this string to the server. Your website can also use JavaScript to read the user agent string to determine which version of a browser a user is running. You can choose what Safari reports as its user agent from the User Agent submenu. 48
49 The Develop Menu Changing the User Agent String This can be useful to quickly test your code to see if it is reacting to various user agents as you expect, without having to actually load the page in multiple versions of multiple browsers. The User Agent submenu is shown in Figure A-1. Figure A-1 The type and version of various browsers in the User Agent submenu You can choose the common versions of most popular browsers from the submenu. Note that the list includes the versions of Safari found on iphone, ipad, and ipod touch. The Other... menu item opens a sheet showing the default user agent string, which you can edit to any string you like. 49
50 The Develop Menu Snippet Editor Snippet Editor Snippet Editor provides an interactive sandbox for previewing HTML and CSS, as shown in Figure A-2. Figure A-2 Snippet Editor can help you isolate problems with your markup 50
51 Keyboard Shortcuts There are several keyboard commands that boost productivity when working in Web Inspector. Navigation Shortcuts Action Toggle Web Inspector Toggle Console Resources navigation sidebar Timelines navigation sidebar Debugger navigation sidebar Console Scope Chain details sidebar Style details sidebar Layer details sidebar Node details sidebar Resource details sidebar Show the previous view in the content browser Show the next view in the content browser Keyboard shortcut Command-Option-I Command-Option-C Control-1 Control-2 Control-3 Control-4 Control-Shift-5 Control-Shift-4 Control-Shift-3 Control-Shift-2 Control-Shift-1 Command-Control-Left Arrow Command-Control-Right Arrow 51
52 Keyboard Shortcuts DOM Tree Shortcuts DOM Tree Shortcuts Action Toggle selected element s visibility Keyboard shortcut H Console Shortcuts Action Toggle Console Autocomplete Previous Command Next Command Clear Force Evaluation Force Newline Keyboard shortcut Esc Tab Up Arrow or Control-P Down Arrow or Control-N Command-K or Control-L Command-Return Option-Return Debugger Shortcuts Action Start Profiling JavaScript Start Timeline Recording Pause script execution Step over Step into Step out Keyboard shortcut Command-Option-Shift-P Command-Option-Shift-T Command-Control-Y or Command-/ F6 or Command- F7 or Command-; F8 or Command-Shift-; 52
53 Keyboard Shortcuts Miscellaneous Shortcuts Miscellaneous Shortcuts Action Reload page Reload page without cache Find Search entire Inspector Undo Redo Save file Increment number value by 10 Increment number value by 1 (or by 0.1 if the value is between -1 and 1) Decrement number value by 1 (or by 0.1 if the value is between -1 and 1) Decrement number value by 10 Keyboard shortcut Command-R Command-Shift-R Command-F Command-Shift-F Command-Z Command-Shift-Z Command-S Option-Shift-Up Arrow Option-Up Arrow Option-Down Arrow Option-Shift-Down Arrow 53
54 Document Revision History This table describes the changes to Safari Web Inspector Guide. Date Notes Made a major organizational revision supporting OS X v10.9. Changed name from "Safari Developer Tools Guide" to "Safari Web Inspector Guide" Updated screenshots to reflect new Web Inspector UI Updated for Safari 5.1. Changed title from Safari User Guide for Web Developers Updated for Safari Corrected typos and minor errors Updated for Safari Added description of JavaScript 'console' API Revised to be task-oriented, with sections on prototyping, debugging, and optimizing websites Revised and expanded for Safari Added description of Safari Mobile debug console. Corrected typos Corrected minor typos and adjusted for style and consistency Describes hidden developer tools introduced in Safari
55 Apple Inc. Copyright 2013 Apple Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, mechanical, electronic, photocopying, recording, or otherwise, without prior written permission of Apple Inc., with the following exceptions: Any person is hereby authorized to store documentation on a single computer or device for personal use only and to print copies of documentation for personal use provided that the documentation contains Apple s copyright notice. No licenses, express or implied, are granted with respect to any of the technology described in this document. Apple retains all intellectual property rights associated with the technology described in this document. This document is intended to assist application developers to develop applications only for Apple-branded products. Apple Inc. 1 Infinite Loop Cupertino, CA Apple, the Apple logo, ipad, iphone, ipod, ipod touch, Mac, OS X, Safari, and Xcode are trademarks of Apple Inc., registered in the U.S. and other countries. App Store and Mac App Store are service marks of Apple Inc. IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used under license. Java is a registered trademark of Oracle and/or its affiliates. OpenGL is a registered trademark of Silicon Graphics, Inc. APPLE MAKES NO WARRANTY OR REPRESENTATION, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THIS DOCUMENT, ITS QUALITY, ACCURACY, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. AS A RESULT, THIS DOCUMENT IS PROVIDED AS IS, AND YOU, THE READER, ARE ASSUMING THE ENTIRE RISK AS TO ITS QUALITY AND ACCURACY. IN NO EVENT WILL APPLE BE LIABLE FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING FROM ANY DEFECT, ERROR OR INACCURACY IN THIS DOCUMENT, even if advised of the possibility of such damages. Some jurisdictions do not allow the exclusion of implied warranties or liability, so the above exclusion may not apply to you.
Safari Web Inspector Guide
Safari Web Inspector Guide Contents About Safari Web Inspector 6 At a Glance 7 Get Started 7 Inspect the DOM and Resources 7 Measure and Improve Page Performance 7 Debug JavaScript 7 Interact with the
Apple Applications > Safari 2008-10-15
Safari User Guide for Web Developers Apple Applications > Safari 2008-10-15 Apple Inc. 2008 Apple Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system,
Google Docs Basics Website: http://etc.usf.edu/te/
Website: http://etc.usf.edu/te/ Google Docs is a free web-based office suite that allows you to store documents online so you can access them from any computer with an internet connection. With Google
Decision Support AITS University Administration. Web Intelligence Rich Client 4.1 User Guide
Decision Support AITS University Administration Web Intelligence Rich Client 4.1 User Guide 2 P age Web Intelligence 4.1 User Guide Web Intelligence 4.1 User Guide Contents Getting Started in Web Intelligence
Microsoft Access 2010 handout
Microsoft Access 2010 handout Access 2010 is a relational database program you can use to create and manage large quantities of data. You can use Access to manage anything from a home inventory to a giant
Debugging JavaScript and CSS Using Firebug. Harman Goei CSCI 571 1/27/13
Debugging JavaScript and CSS Using Firebug Harman Goei CSCI 571 1/27/13 Notice for Copying JavaScript Code from these Slides When copying any JavaScript code from these slides, the console might return
Dashcode User Guide. (Retired Document)
Dashcode User Guide (Retired Document) Contents Introduction to Dashcode User Guide 7 Who Should Read This Document? 7 Organization of This Document 7 Getting and Running Dashcode 8 Reporting Bugs 8 See
Hypercosm. Studio. www.hypercosm.com
Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks
5.1 Features 1.877.204.6679. [email protected] Denver CO 80202
1.877.204.6679 www.fourwindsinteractive.com 3012 Huron Street [email protected] Denver CO 80202 5.1 Features Copyright 2014 Four Winds Interactive LLC. All rights reserved. All documentation
Microsoft Word 2010. Quick Reference Guide. Union Institute & University
Microsoft Word 2010 Quick Reference Guide Union Institute & University Contents Using Word Help (F1)... 4 Window Contents:... 4 File tab... 4 Quick Access Toolbar... 5 Backstage View... 5 The Ribbon...
How To Change Your Site On Drupal Cloud On A Pcode On A Microsoft Powerstone On A Macbook Or Ipad (For Free) On A Freebie (For A Free Download) On An Ipad Or Ipa (For
How-to Guide: MIT DLC Drupal Cloud Theme This guide will show you how to take your initial Drupal Cloud site... and turn it into something more like this, using the MIT DLC Drupal Cloud theme. See this
Vodafone Business Product Management Group. Hosted Services EasySiteWizard Pro 8 User Guide
Vodafone Business Product Management Group Hosted Services EasySiteWizard Pro 8 User Guide Vodafone Group 2010 Other than as permitted by law, no part of this document may be reproduced, adapted, or distributed,
Using the Query Analyzer
Using the Query Analyzer Using the Query Analyzer Objectives Explore the Query Analyzer user interface. Learn how to use the menu items and toolbars to work with SQL Server data and objects. Use object
Website Builder Documentation
Website Builder Documentation Main Dashboard page In the main dashboard page you can see and manager all of your projects. Filter Bar In the filter bar at the top you can filter and search your projects
USER GUIDE MANTRA WEB EXTRACTOR. www.altiliagroup.com
USER GUIDE MANTRA WEB EXTRACTOR www.altiliagroup.com Page 1 of 57 MANTRA WEB EXTRACTOR USER GUIDE TABLE OF CONTENTS CONVENTIONS... 2 CHAPTER 2 BASICS... 6 CHAPTER 3 - WORKSPACE... 7 Menu bar 7 Toolbar
Introduction to MS WINDOWS XP
Introduction to MS WINDOWS XP Mouse Desktop Windows Applications File handling Introduction to MS Windows XP 2 Table of Contents What is Windows XP?... 3 Windows within Windows... 3 The Desktop... 3 The
FastTrack Schedule 10. Tutorials Manual. Copyright 2010, AEC Software, Inc. All rights reserved.
FastTrack Schedule 10 Tutorials Manual FastTrack Schedule Documentation Version 10.0.0 by Carol S. Williamson AEC Software, Inc. With FastTrack Schedule 10, the new version of the award-winning project
Basic Web Development @ Fullerton College
Basic Web Development @ Fullerton College Introduction FC Net Accounts Obtaining Web Space Accessing your web space using MS FrontPage Accessing your web space using Macromedia Dreamweaver Accessing your
Your First App Store Submission
Your First App Store Submission Contents About Your First App Store Submission 4 At a Glance 5 Enroll in the Program 5 Provision Devices 5 Create an App Record in itunes Connect 5 Submit the App 6 Solve
Using Adobe Dreamweaver CS4 (10.0)
Getting Started Before you begin create a folder on your desktop called DreamweaverTraining This is where you will save your pages. Inside of the DreamweaverTraining folder, create another folder called
JOOMLA 2.5 MANUAL WEBSITEDESIGN.CO.ZA
JOOMLA 2.5 MANUAL WEBSITEDESIGN.CO.ZA All information presented in the document has been acquired from http://docs.joomla.org to assist you with your website 1 JOOMLA 2.5 MANUAL WEBSITEDESIGN.CO.ZA BACK
PowerPoint 2007 Basics Website: http://etc.usf.edu/te/
Website: http://etc.usf.edu/te/ PowerPoint is the presentation program included in the Microsoft Office suite. With PowerPoint, you can create engaging presentations that can be presented in person, online,
PowerPoint 2007: Basics Learning Guide
PowerPoint 2007: Basics Learning Guide What s a PowerPoint Slide? PowerPoint presentations are composed of slides, just like conventional presentations. Like a 35mm film-based slide, each PowerPoint slide
(These instructions are only meant to get you started. They do not include advanced features.)
FrontPage XP/2003 HOW DO I GET STARTED CREATING A WEB PAGE? Previously, the process of creating a page on the World Wide Web was complicated. Hypertext Markup Language (HTML) is a relatively simple computer
SiteBuilder 2.1 Manual
SiteBuilder 2.1 Manual Copyright 2004 Yahoo! Inc. All rights reserved. Yahoo! SiteBuilder About This Guide With Yahoo! SiteBuilder, you can build a great web site without even knowing HTML. If you can
Managing Your Desktop with Exposé, Spaces, and Other Tools
CHAPTER Managing Your Desktop with Exposé, Spaces, and Other Tools In this chapter Taking Control of Your Desktop 266 Managing Open Windows with Exposé 266 Creating, Using, and Managing Spaces 269 Mac
Contents The Design Chooser... Mail Designer Pro 2 at a glance... The contents window... Working with text... Your first mail design...
Mail Designer Pro 2 Contents The Design Chooser... 4 Mail Designer Pro 2 at a glance... 5 The contents window... 6 Your first mail design... 9 Creating a new design... 9 Working with layout blocks... 9
Microsoft Expression Web Quickstart Guide
Microsoft Expression Web Quickstart Guide Expression Web Quickstart Guide (20-Minute Training) Welcome to Expression Web. When you first launch the program, you ll find a number of task panes, toolbars,
How To Use Query Console
Query Console User Guide 1 MarkLogic 8 February, 2015 Last Revised: 8.0-1, February, 2015 Copyright 2015 MarkLogic Corporation. All rights reserved. Table of Contents Table of Contents Query Console User
Chronicle USER MANUAL
Chronicle USER MANUAL 1st Edition 2 IN THIS MANUAL Part One The Chronicle Interface The Overview Screen The Bill Detail Screen Part Two Creating, Editing and Viewing Bills Creating Your First Bill Editing
How To Write A Cq5 Authoring Manual On An Ubuntu Cq 5.2.2 (Windows) (Windows 5) (Mac) (Apple) (Amd) (Powerbook) (Html) (Web) (Font
Adobe CQ5 Authoring Basics Print Manual SFU s Content Management System SFU IT Services CMS Team ABSTRACT A summary of CQ5 Authoring Basics including: Setup and Login, CQ Interface Tour, Versioning, Uploading
Microsoft Access 2010 Part 1: Introduction to Access
CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Access 2010 Part 1: Introduction to Access Fall 2014, Version 1.2 Table of Contents Introduction...3 Starting Access...3
Welcome to icue! Version 4
Welcome to icue! Version 4 icue is a fully configurable teleprompter for ipad. icue can be used with an external monitor, controlled by remote and can easily share files in a variety of fashions. 1 of
Excel 2003 Tutorial I
This tutorial was adapted from a tutorial by see its complete version at http://www.fgcu.edu/support/office2000/excel/index.html Excel 2003 Tutorial I Spreadsheet Basics Screen Layout Title bar Menu bar
DataPA OpenAnalytics End User Training
DataPA OpenAnalytics End User Training DataPA End User Training Lesson 1 Course Overview DataPA Chapter 1 Course Overview Introduction This course covers the skills required to use DataPA OpenAnalytics
MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC
MyOra 3.0 SQL Tool for Oracle User Guide Jayam Systems, LLC Contents Features... 4 Connecting to the Database... 5 Login... 5 Login History... 6 Connection Indicator... 6 Closing the Connection... 7 SQL
Word 2007: Basics Learning Guide
Word 2007: Basics Learning Guide Exploring Word At first glance, the new Word 2007 interface may seem a bit unsettling, with fat bands called Ribbons replacing cascading text menus and task bars. This
ArcGIS. Tips and Shortcuts. for Desktop
ArcGIS Tips and Shortcuts for Desktop Map Navigation Refresh and redraw the display. F5 Suspend the map s drawing. F9 Zoom in and out. Center map. Roll the mouse wheel backward and forward. Hold down Ctrl
DECS DER APPLE WIRELESS HELPER DOCUMENT
DECS DER APPLE WIRELESS HELPER DOCUMENT A GUIDE TO THE DEPLOYMENT OF APPLE MAC NOTEBOOK COMPUTERS IN DECS WIRELESS NETWORKS apple Chris Downing, Senior Systems Engineer apple Viano Jaksa, Area Manager
NDA-30141 ISSUE 1 STOCK # 200893. CallCenterWorX-Enterprise IMX MAT Quick Reference Guide MAY, 2000. NEC America, Inc.
NDA-30141 ISSUE 1 STOCK # 200893 CallCenterWorX-Enterprise IMX MAT Quick Reference Guide MAY, 2000 NEC America, Inc. LIABILITY DISCLAIMER NEC America, Inc. reserves the right to change the specifications,
TakeMySelfie ios App Documentation
TakeMySelfie ios App Documentation What is TakeMySelfie ios App? TakeMySelfie App allows a user to take his own picture from front camera. User can apply various photo effects to the front camera. Programmers
QUIT MACSCHOOL AND DRAG YOUR SERVER ICONS TO THE TRASH OR HIT THE DISCONNECT BUTTON BESIDE THE SERVER ICON IN THE TOP SIDEBAR
Macintosh Operating System OSX 10.3.x STARTING YOUR COMPUTER Logging in Whenever you start your computer, you will need to enter your computer password at the log in screen. When the log in screen appears,
Data Tool Platform SQL Development Tools
Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6
Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00
Course Page - Page 1 of 12 Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00 Course Description Responsive Mobile Web Development is more
ORACLE BUSINESS INTELLIGENCE WORKSHOP
ORACLE BUSINESS INTELLIGENCE WORKSHOP Creating Interactive Dashboards and Using Oracle Business Intelligence Answers Purpose This tutorial shows you how to build, format, and customize Oracle Business
OPERATION MANUAL. MV-410RGB Layout Editor. Version 2.1- higher
OPERATION MANUAL MV-410RGB Layout Editor Version 2.1- higher Table of Contents 1. Setup... 1 1-1. Overview... 1 1-2. System Requirements... 1 1-3. Operation Flow... 1 1-4. Installing MV-410RGB Layout
Responsive Web Design Creative License
Responsive Web Design Creative License Level: Introduction - Advanced Duration: 16 Days Time: 9:30 AM - 4:30 PM Cost: 2197 Overview Web design today is no longer just about cross-browser compatibility.
SoftChalk. Level 1. University Information Technology Services. Training, SoftChalk Level Outreach, 1 Learning Technologies and Video Production
SoftChalk Level 1 University Information Technology Services Training, SoftChalk Level Outreach, 1 Learning Technologies and Video Production Page 1 of 49 Copyright 2013 KSU Department of University Information
+ Create, and maintain your site
T4 Basics Version 1.0 + Create, and maintain your site With T4, you are in control of the content of your website. Feel free to be creative, and keep your site up to date. Few of T4 Features Media Library
Access 2007 Creating Forms Table of Contents
Access 2007 Creating Forms Table of Contents CREATING FORMS IN ACCESS 2007... 3 UNDERSTAND LAYOUT VIEW AND DESIGN VIEW... 3 LAYOUT VIEW... 3 DESIGN VIEW... 3 UNDERSTAND CONTROLS... 4 BOUND CONTROL... 4
M-Files Gantt View. User Guide. App Version: 1.1.0 Author: Joel Heinrich
M-Files Gantt View User Guide App Version: 1.1.0 Author: Joel Heinrich Date: 02-Jan-2013 Contents 1 Introduction... 1 1.1 Requirements... 1 2 Basic Use... 1 2.1 Activation... 1 2.2 Layout... 1 2.3 Navigation...
Extended Reference for Freeway 7
1 Extended Reference for Freeway 7 Extended Reference for Freeway 7 1 Introduction This guide covers the new features and improvements offered in Freeway 7. While the main new feature is support for building
Create a Poster Using Publisher
Contents 1. Introduction 1. Starting Publisher 2. Create a Poster Template 5. Aligning your images and text 7. Apply a background 12. Add text to your poster 14. Add pictures to your poster 17. Add graphs
Module B. Key Applications Using Microsoft Office 2010
Module B Key Applications Using Microsoft Office 2010 Unit 3: Common Elements Key Applications The Key Applications exam includes questions covering three applications (word processing, spreadsheet and
WebFOCUS BI Portal: S.I.M.P.L.E. as can be
WebFOCUS BI Portal: S.I.M.P.L.E. as can be Author: Matthew Lerner Company: Information Builders Presentation Abstract: This hands-on session will introduce attendees to the new WebFOCUS BI Portal. We will
Microsoft Dynamics CRM 2016 Interactive Service Hub User Guide
Microsoft Dynamics CRM 2016 Interactive Service Hub User Guide Microsoft Dynamics CRM Online Microsoft Dynamics CRM 2016 (on-premises) Version 1.0 The new interactive experience for customer service We
Enterprise Interface User Guide
Enterprise Interface User Guide http://www.scientia.com Email: [email protected] Ref: 3094 ISO 9001:2000 / TickIT certified Copyright Scientia Ltd 2010 This document is the exclusive property of Scientia
USER GUIDE. Unit 2: Synergy. Chapter 2: Using Schoolwires Synergy
USER GUIDE Unit 2: Synergy Chapter 2: Using Schoolwires Synergy Schoolwires Synergy & Assist Version 2.0 TABLE OF CONTENTS Introductions... 1 Audience... 1 Objectives... 1 Before You Begin... 1 Getting
Mac OS X (Leopard) The Basics
Mac OS X (Leopard) The Basics Howard County Public School System OIT Training Document ID No.: MAC02 Revision Date: 10/14/2008 =Warning =Timesaver =Suggestion Navigating Your New Computer This section
Create an Excel BI report and share on SharePoint 2013
2013 Create an Excel BI report and share on SharePoint 2013 Hands-On Lab Lab Manual This document is provided as-is. Information and views expressed in this document, including URL and other Internet Web
Excel 2007 Basic knowledge
Ribbon menu The Ribbon menu system with tabs for various Excel commands. This Ribbon system replaces the traditional menus used with Excel 2003. Above the Ribbon in the upper-left corner is the Microsoft
Joomla! 2.5.x Training Manual
Joomla! 2.5.x Training Manual Joomla is an online content management system that keeps track of all content on your website including text, images, links, and documents. This manual includes several tutorials
Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide
Open Crystal Reports From the Windows Start menu choose Programs and then Crystal Reports. Creating a Blank Report Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick
Creating Custom Crystal Reports Tutorial
Creating Custom Crystal Reports Tutorial 020812 2012 Blackbaud, Inc. This publication, or any part thereof, may not be reproduced or transmitted in any form or by any means, electronic, or mechanical,
MicroStrategy Analytics Express User Guide
MicroStrategy Analytics Express User Guide Analyzing Data with MicroStrategy Analytics Express Version: 4.0 Document Number: 09770040 CONTENTS 1. Getting Started with MicroStrategy Analytics Express Introduction...
Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation
Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation Credit-By-Assessment (CBA) Competency List Written Assessment Competency List Introduction to the Internet
Desktop, Web and Mobile Testing Tutorials
Desktop, Web and Mobile Testing Tutorials * Windows and the Windows logo are trademarks of the Microsoft group of companies. 2 About the Tutorial With TestComplete, you can test applications of three major
Build a New Website Using the UB Content Management System (UBCMS)
Build a New Website Using the UB Content Management System (UBCMS) Support Website Online training, help and support, UBCMS status and more. ubcms.buffalo.edu Training Feedback Survey https://www.surveymonkey.com/s/mm-dd-yyyy
BID2WIN Workshop. Advanced Report Writing
BID2WIN Workshop Advanced Report Writing Please Note: Please feel free to take this workbook home with you! Electronic copies of all lab documentation are available for download at http://www.bid2win.com/userconf/2011/labs/
Backup Assistant. User Guide. NEC NEC Unified Solutions, Inc. March 2008 NDA-30282, Revision 6
Backup Assistant User Guide NEC NEC Unified Solutions, Inc. March 2008 NDA-30282, Revision 6 Liability Disclaimer NEC Unified Solutions, Inc. reserves the right to change the specifications, functions,
CONTENTM WEBSITE MANAGEMENT SYSTEM. Getting Started Guide
CONTENTM WEBSITE MANAGEMENT SYSTEM Getting Started Guide Table of Contents CONTENTM WEBSITE MANAGEMENT SYSTEM... 1 GETTING TO KNOW YOUR SITE...5 PAGE STRUCTURE...5 Templates...5 Menus...5 Content Areas...5
How to Edit Your Website
How to Edit Your Website A guide to using your Content Management System Overview 2 Accessing the CMS 2 Choosing Your Language 2 Resetting Your Password 3 Sites 4 Favorites 4 Pages 5 Creating Pages 5 Managing
Responsive Web Design for Teachers. Exercise: Building a Responsive Page with the Fluid Grid Layout Feature
Exercise: Building a Responsive Page with the Fluid Grid Layout Feature Now that you know the basic principles of responsive web design CSS3 Media Queries, fluid images and media, and fluid grids, you
SAS BI Dashboard 4.3. User's Guide. SAS Documentation
SAS BI Dashboard 4.3 User's Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2010. SAS BI Dashboard 4.3: User s Guide. Cary, NC: SAS Institute
CMS Training. Prepared for the Nature Conservancy. March 2012
CMS Training Prepared for the Nature Conservancy March 2012 Session Objectives... 3 Structure and General Functionality... 4 Section Objectives... 4 Six Advantages of using CMS... 4 Basic navigation...
StrikeRisk v6.0 IEC/EN 62305-2 Risk Management Software Getting Started
StrikeRisk v6.0 IEC/EN 62305-2 Risk Management Software Getting Started Contents StrikeRisk v6.0 Introduction 1/1 1 Installing StrikeRisk System requirements Installing StrikeRisk Installation troubleshooting
Site Configuration Mobile Entrée 4
Table of Contents Table of Contents... 1 SharePoint Content Installed by ME... 3 Mobile Entrée Base Feature... 3 Mobile PerformancePoint Application Feature... 3 Mobile Entrée My Sites Feature... 3 Site
Search help. More on Office.com: images templates
Page 1 of 14 Access 2010 Home > Access 2010 Help and How-to > Getting started Search help More on Office.com: images templates Access 2010: database tasks Here are some basic database tasks that you can
In list view, the Finder window displays folder or volume contents as a list, which can be sorted by name, date, kind, or other criteria.
Using the Finder When you first start up your Mac, you're greeted by the Finder, which allows you to visually access practically everything on your Mac, including applications, hard disks, files, folders,
BIGPOND ONLINE STORAGE USER GUIDE Issue 1.1.0-18 August 2005
BIGPOND ONLINE STORAGE USER GUIDE Issue 1.1.0-18 August 2005 PLEASE NOTE: The contents of this publication, and any associated documentation provided to you, must not be disclosed to any third party without
Access 2013 Keyboard Shortcuts
Access 2013 Keyboard Shortcuts Access app shortcut keys Design-time shortcut keys These shortcut keys are available when you are customizing an app in Access. Many of the shortcuts listed under Desktop
Chapter 1. Introduction to ios Development. Objectives: Touch on the history of ios and the devices that support this operating system.
Chapter 1 Introduction to ios Development Objectives: Touch on the history of ios and the devices that support this operating system. Understand the different types of Apple Developer accounts. Introduce
Contents. Launching FrontPage... 3. Working with the FrontPage Interface... 3 View Options... 4 The Folders List... 5 The Page View Frame...
Using Microsoft Office 2003 Introduction to FrontPage Handout INFORMATION TECHNOLOGY SERVICES California State University, Los Angeles Version 1.0 Fall 2005 Contents Launching FrontPage... 3 Working with
Using Windows CE Applications in the Pathfinder
Using Windows CE Applications in the Pathfinder Prentke Romich Company 1022 Heyl Rd. Wooster, Ohio 44691 Phone: 1-800-262-1984 14002v1.02 PRC Service Disclaimer Prentke Romich Company is not responsible
MICROSOFT OFFICE ACCESS 2007 - NEW FEATURES
MICROSOFT OFFICE 2007 MICROSOFT OFFICE ACCESS 2007 - NEW FEATURES Exploring Access Creating and Working with Tables Finding and Filtering Data Working with Queries and Recordsets Working with Forms Working
MS Word 2007 practical notes
MS Word 2007 practical notes Contents Opening Microsoft Word 2007 in the practical room... 4 Screen Layout... 4 The Microsoft Office Button... 4 The Ribbon... 5 Quick Access Toolbar... 5 Moving in the
Adobe Dreamweaver CC 14 Tutorial
Adobe Dreamweaver CC 14 Tutorial GETTING STARTED This tutorial focuses on the basic steps involved in creating an attractive, functional website. In using this tutorial you will learn to design a site
Business Insight Report Authoring Getting Started Guide
Business Insight Report Authoring Getting Started Guide Version: 6.6 Written by: Product Documentation, R&D Date: February 2011 ImageNow and CaptureNow are registered trademarks of Perceptive Software,
Chapter 14: Links. Types of Links. 1 Chapter 14: Links
1 Unlike a word processor, the pages that you create for a website do not really have any order. You can create as many pages as you like, in any order that you like. The way your website is arranged and
Triggers & Actions 10
Triggers & Actions 10 CHAPTER Introduction Triggers and actions are the building blocks that you can use to create interactivity and custom features. Once you understand how these building blocks work,
voxover 1.x Manual by Matthew Foust and Evan Olcott Copyright 2007 Audiofile Engineering, LLC
voxover 1.x Manual Matthew Foust, Audiofile Engineering, LLC Evan Olcott, Audiofile Engineering, LLC voxover 1.x Manual by Matthew Foust and
Frequently Asked Questions for the USA TODAY e-newspaper
Frequently Asked Questions for the USA TODAY e-newspaper Navigating the USA TODAY e-newspaper A look at the toolbar Toolbar Functions, Buttons, and Descriptions The tab marked Contents will take the e-reader
Module One: Getting Started... 6. Opening Outlook... 6. Setting Up Outlook for the First Time... 7. Understanding the Interface...
2 CONTENTS Module One: Getting Started... 6 Opening Outlook... 6 Setting Up Outlook for the First Time... 7 Understanding the Interface...12 Using Backstage View...14 Viewing Your Inbox...15 Closing Outlook...17
Choose a topic from the left to get help for CmapTools.
Using CmapTools Create a Cmap Add a Concept Create a Proposition from One Concept Create a Proposition from Existing Concepts Save a Cmap Open a Cmap Create a Folder Drag in Resources Import Resources
Writer Guide. Chapter 15 Using Forms in Writer
Writer Guide Chapter 15 Using Forms in Writer Copyright This document is Copyright 2005 2008 by its contributors as listed in the section titled Authors. You may distribute it and/or modify it under the
Outlook Email. User Guide IS TRAINING CENTER. 833 Chestnut St, Suite 600. Philadelphia, PA 19107 215-503-7500
Outlook Email User Guide IS TRAINING CENTER 833 Chestnut St, Suite 600 Philadelphia, PA 19107 215-503-7500 This page intentionally left blank. TABLE OF CONTENTS Getting Started... 3 Opening Outlook...
1. Tutorial - Developing websites with Kentico 8... 3 1.1 Using the Kentico interface... 3 1.2 Managing content - The basics... 4 1.2.
Kentico 8 Tutorial Tutorial - Developing websites with Kentico 8.................................................................. 3 1 Using the Kentico interface............................................................................
Book Builder Training Materials Using Book Builder September 2014
Book Builder Training Materials Using Book Builder September 2014 Prepared by WDI, Inc. Table of Contents Introduction --------------------------------------------------------------------------------------------------------------------
Dreamweaver Tutorial - Dreamweaver Interface
Expertrating - Dreamweaver Interface 1 of 5 6/14/2012 9:21 PM ExpertRating Home ExpertRating Benefits Recommend ExpertRating Suggest More Tests Privacy Policy FAQ Login Home > Courses, Tutorials & ebooks
