如何在iPhone上查看页面源代码

如何在iPhone上查看页面源代码

如果您是一个网络好奇类型的人,并且还拥有iPhone或iPad,那么“如何在您的设备上查看页面'源代码?”的问题肯定会让您心烦意乱。好奇心导致研究和研究显示答案是很自然的。因此,如果您是寻求此问题答案的用户之一,那么您可以在下面找到它们。

查找HTML源代码:

1.第一步是在您的设备上启动Safari。您可以在屏幕底部找到它。

2.打开后,您需要在搜索栏中输入任意网址并点击 走。 点击分享“width =”225“height =”400“srcset =”https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-17.jpeg 1242w,https ://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-17-169x300.jpeg 169w,https://o0o0sm3y25-flywheel.netdna-ssl.com/wp- content / uploads / 2019/08 / word-image-17-768x1365.jpeg 768w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-17-576x1024 .jpeg 576w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-17-696x1237.jpeg 696w,https://o0o0sm3y25-flywheel.netdna-ssl .com / wp-content / uploads / 2019/08 / word-image-17-1068x1899.jpeg 1068w,https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word- image-17-236x420.jpeg 236w“sizes =”(最大宽度:225px)100vw,225px

3.现在点击 分享 Safari浏览器上的按钮。它是一个带箭头的Box图标。您可以在屏幕底部找到它。

4.点击共享后,屏幕上会出现一个弹出菜单栏。它将为您提供各种选择。

5.找到该选项 添加书签。它是一个带有书状图标的书。点击它。清除字段“width =”226“height =”402“srcset =”https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-18.jpeg 1242w, https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-18-169x300.jpeg 169w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp -content / uploads / 2019/08 / word-image-18-768x1365.jpeg 768w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-18- 576x1024.jpeg 576w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-18-696x1237.jpeg 696w,https://o0o0sm3y25-flywheel.netdna- ssl.com/wp-content/uploads/2019/08/word-image-18-1068x1899.jpeg 1068w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word -image-18-236x420.jpeg 236w“sizes =”(最大宽度:226px)100vw,226px

6.现在点击 X 在名称字段中。点击x将清除此字段。现在输入 显示页面来源 在此字段中,然后点击选项 保存 位于屏幕的右上角。复制javascript“width =”225“height =”400“srcset =”https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-19.jpeg 1242w, https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-19-169x300.jpeg 169w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp -content / uploads / 2019/08 / word-image-19-768x1365.jpeg 768w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-19- 576x1024.jpeg 576w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-19-696x1237.jpeg 696w,https://o0o0sm3y25-flywheel.netdna- ssl.com/wp-content/uploads/2019/08/word-image-19-1068x1899.jpeg 1068w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word -image-19-236x420.jpeg 236w“sizes =”(最大宽度:225px)100vw,225px

7.现在您需要复制您正在访问的网页的JavaScript代码。它应该看起来像上图中的代码。为此,您必须事先在Safari中启用JavaScript。您可以通过Safari设置来完成。编辑书签“width =”224“height =”398“srcset =”https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-20.jpeg 1242w,https ://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-20-169x300.jpeg 169w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp- content / uploads / 2019/08 / word-image-20-768x1365.jpeg 768w,https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-20-576x1024 .jpeg 576w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-20-696x1237.jpeg 696w,https://o0o0sm3y25-flywheel.netdna-ssl .com / wp-content / uploads / 2019/08 / word-image-20-1068x1899.jpeg 1068w,https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word- image-20-236x420.jpeg 236w“sizes =”(最大宽度:224px)100vw,224px

8.复制后,点击该选项 书签 然后点击选项 编辑。

9.选择 显示页面资源 在屏幕上添加书签。点击x“width =”225“height =”400“srcset =”https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-21.jpeg 1242w, https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-21-169x300.jpeg 169w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp -content / uploads / 2019/08 / word-image-21-768x1365.jpeg 768w,https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-21- 576x1024.jpeg 576w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-21-696x1237.jpeg 696w,https://o0o0sm3y25-flywheel.netdna- ssl.com/wp-content/uploads/2019/08/word-image-21-1068x1899.jpeg 1068w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word -image-21-236x420.jpeg 236w“sizes =”(最大宽度:225px)100vw,225px

10.点击地址栏,然后点击清除它 X 穿过它。现在,粘贴您复制的JavaScript代码。龙头 完成。 显示页面资源“width =”225“height =”400“srcset =”https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-22.jpeg 1242w, https://o0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-22-169x300.jpeg 169w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp -content / uploads / 2019/08 / word-image-22-768x1365.jpeg 768w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-22- 576x1024.jpeg 576w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word-image-22-696x1237.jpeg 696w,https://o0o0sm3y25-flywheel.netdna- ssl.com/wp-content/uploads/2019/08/word-image-22-1068x1899.jpeg 1068w,https://oo0o0sm3y25-flywheel.netdna-ssl.com/wp-content/uploads/2019/08/word -image-22-236x420.jpeg 236w“sizes =”(最大宽度:225px)100vw,225px

现在访问您要检查源代码的任何网页。网页打开后,点按“书签”,然后点按“书签” 显示页面资源。 将打开一个新窗口,它将包含所有HTML代码。

阅读时步骤可能看起来很困难,但应用程序非常简单。如果你一步一步走,你就不会遇到任何问题。但是,如果您无法理解此方法,那么App Store上有相当多的应用程序可以帮助您破解源代码。查看源代码,网页来源,源浏览器和许多类似的应用程序提供了比这更简单的过程。

最后,完全取决于您喜欢哪种方法。建议您尝试手动方法而不是应用程序,因为第三方应用程序对某些人来说可能看起来很危险。此外,第三方应用程序也可能是付费应用程序或要求每月付费。

本文机器自动生成,不保证语句完整通顺和表达准确,亦不对内容真实有效性负责,请读者知悉。