{"id":10996,"date":"2019-10-06T14:12:29","date_gmt":"2019-10-06T13:12:29","guid":{"rendered":"https:\/\/johnjohnston.info\/blog\/?p=10996"},"modified":"2019-10-06T14:16:52","modified_gmt":"2019-10-06T13:16:52","slug":"reply-to-aaron-document-designmodeon","status":"publish","type":"post","link":"https:\/\/johnjohnston.info\/blog\/reply-to-aaron-document-designmodeon\/","title":{"rendered":"reply to aaron, document.designMode=&#8217;on&#8217;"},"content":{"rendered":"<p>Hi Aaron,<\/p>\n<p>Thanks for this, a useful replacement for Mozzila&#8217;s x-ray for learning, teaching and playing with the web.<\/p>\n<p>I wondered about using this on iOS and found I could make the simplest of shortcuts.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"10997\" data-permalink=\"https:\/\/johnjohnston.info\/blog\/reply-to-aaron-document-designmodeon\/img_ba074b1af17e-1\/\" data-orig-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2019\/10\/IMG_BA074B1AF17E-1.jpeg\" data-orig-size=\"600,945\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"IMG_BA074B1AF17E-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2019\/10\/IMG_BA074B1AF17E-1.jpeg\" class=\"aligncenter size-full wp-image-10997\" src=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2019\/10\/IMG_BA074B1AF17E-1.jpeg\" alt=\"\" width=\"600\" height=\"945\" srcset=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2019\/10\/IMG_BA074B1AF17E-1.jpeg 600w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2019\/10\/IMG_BA074B1AF17E-1-394x620.jpeg 394w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<pre><code>document.designMode='on';\n\ncompletion();\n<\/code><\/pre>\n<p>I&#8217;ve not used a shortcut for running JavaScript in mobile Safari before so useful to <a href=\"https:\/\/support.apple.com\/en-gb\/guide\/shortcuts\/apdb71a01d93\/3.1\/ios\/13.1\">learn about completion()<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi Aaron, Thanks for this, a useful replacement for Mozzila&#8217;s x-ray for learning, teaching and playing with the web. I wondered about using this on iOS and found I could make the simplest of shortcuts. document.designMode=&#8217;on&#8217;; completion(); I&#8217;ve not used a shortcut for running JavaScript in mobile Safari before so useful to learn about completion()<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"status","meta":{"mf2_syndication":[],"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[817],"tags":[648,81,38],"post_format":[642],"class_list":{"0":"post-10996","1":"post","2":"type-post","3":"status-publish","4":"format-status","6":"category-reactions","7":"tag-aaron-davis","8":"tag-html","9":"tag-javascript","10":"post_format-post-format-status","11":"kind-reply","13":"h-entry","14":"hentry","15":"post-kind"},"better_featured_image":null,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p57zFQ-2Rm","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"kind":false,"_links":{"self":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/10996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/comments?post=10996"}],"version-history":[{"count":6,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/10996\/revisions"}],"predecessor-version":[{"id":11003,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/10996\/revisions\/11003"}],"wp:attachment":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/media?parent=10996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/categories?post=10996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/tags?post=10996"},{"taxonomy":"post_format","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/post_format?post=10996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}