iphone查看网页源代码_如何在iPhone或iPad上查看网页源代码

iphone查看网页源代码

iphone查看网页源代码

Mobile Safari is a really great browser — it’s fast, easy to use, and has most of the features you might want. What it doesn’t have, however, is a good way to view the source code of a page.

移动Safari是一款非常出色的浏览器-快速,易于使用,并具有您可能需要的大多数功能。 但是,它不是查看页面源代码的好方法。

For the vast majority of people, viewing the source code of a page on their phone or tablet probably isn’t the highest thing on their list, but for anybody who is curious about how sites are doing things, or for programmers, it can be pretty useful.

对于绝大多数人来说,在手机或平板电脑上查看页面的源代码可能并不是他们列表中最重要的事情,但是对于任何对网站的运行方式感到好奇的人或程序员而言,非常有用。

在iPhone或iPad上查看网页源 (Viewing Web Page Source on iPhone or iPad)

To accomplish this task, we’ll need an app that is appropriately called “View Source”, and you’ll need to be running iOS8. This particular app is 99 cents, which isn’t the same thing as free, but you probably paid a ton of money for that iDevice, so we’re assuming it won’t break the bank.

为了完成此任务,我们需要一个适当地称为“ View Source”的应用程序 ,并且您需要运行iOS8。 这个特定的应用程序是99美分,这与免费是不一样的,但是您可能为该iDevice支付了一大笔钱,因此我们假设它不会破坏银行业务。

Once you’ve installed it, you can access using the Share menu in Safari, which has really turned into the extensions menu at this point. Once there, press the More button on the second row.

安装后,您可以使用Safari中的“共享”菜单进行访问,这实际上已经变成了扩展菜单。 到达那里后,按第二行上的“更多”按钮。

Then flip the View Source toggle to enabled.

然后将“查看源代码”切换到启用状态。

And now you’ll have a View Source button in the drop-down menu.

现在,您将在下拉菜单中具有“查看源代码”按钮。

Which, naturally, will let you view the source. There are some other options like sharing the source code, or switching to the DOM mode, but you can explore those for yourself.

自然,这将使您查看源。 还有其他一些选项,例如共享源代码或切换到DOM模式,但是您可以自己探索这些。

So if you’ve ever wondered how to view the source of a website from your phone, now you know.

因此,如果您曾经想知道如何通过手机查看网站的来源,现在就知道了。

翻译自: https://www.howtogeek.com/204991/how-to-view-web-page-source-code-on-your-iphone-or-ipad/

iphone查看网页源代码

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值