diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2012-09-10 17:04:29 +0900 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2012-09-10 17:04:29 +0900 |
commit | f3bc06001f660ef156e0895f4be1e81a0ac99502 (patch) | |
tree | 4319859b727600c6d8382b95e68a0c0d52cf38f0 /libs/js/jquery-mobile-1.1.0/tools/page-change-time.html | |
parent | b087adb7b7df900f9656425e5cea9dc7abdf935b (diff) | |
download | web-ui-fw-f3bc06001f660ef156e0895f4be1e81a0ac99502.tar.gz web-ui-fw-f3bc06001f660ef156e0895f4be1e81a0ac99502.tar.bz2 web-ui-fw-f3bc06001f660ef156e0895f4be1e81a0ac99502.zip |
Revert "Export"
This reverts commit b087adb7b7df900f9656425e5cea9dc7abdf935b.
Diffstat (limited to 'libs/js/jquery-mobile-1.1.0/tools/page-change-time.html')
-rw-r--r-- | libs/js/jquery-mobile-1.1.0/tools/page-change-time.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libs/js/jquery-mobile-1.1.0/tools/page-change-time.html b/libs/js/jquery-mobile-1.1.0/tools/page-change-time.html new file mode 100644 index 00000000..1cd7cf38 --- /dev/null +++ b/libs/js/jquery-mobile-1.1.0/tools/page-change-time.html @@ -0,0 +1,24 @@ +<!DOCTYPE HTML> +<html> +<head> +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1"> +<title>Page Change Timing Bookmarklet</title> +</head> + +<body> +<h1>Page Change Timing Bookmarklet</h1> +<p>A simple bookmarklet for timing the load, enhanement, and transition of a jQuery Mobile changePage() request. To use, bookmark the following link:</p> +<script> +document.write('<p><a id="bookmarklet-link" href="javascript:function loadScript(u){var s=document.createElement(\'script\');s.setAttribute(\'language\',\'javascript\');s.setAttribute(\'src\',u);document.body.appendChild(s);} loadScript(\'' + ( location.href.replace( /\.html/, ".js" ) ) + '\');">Page Change Timing Bookmark</a></p>'); +</script> +<p>For platforms that don't allow bookmarking of <code>javascript:</code> urls, you can copy/paste the following source for the bookmarklet directly into the browser's location bar then hit enter or hit the "go" button on your keypad:</p> +<p> + <textarea id="ta" rows="10" cols="50"></textarea> +</p> +<p>NOTE: Some browsers like Chrome will strip off the javascript: prefix from the string above when you paste it into the location bar. Make sure what you pasted is prefixed by javascript: before attempting to load the bookmarklet.</p> +<script> +document.getElementById("ta").value = document.getElementById("bookmarklet-link").href; + </script> +</body> +</html> |