Techniqued- Technoloy, Review and Tutorials
  • Android
  • Freewares
  • Tutorial
  • Windows 11
  • macOS
No Result
View All Result
Techniqued- Technoloy, Review and Tutorials
  • Android
  • Freewares
  • Tutorial
  • Windows 11
  • macOS
No Result
View All Result
Techniqued- Technoloy, Review and Tutorials
No Result
View All Result

How To View Website Source on iPad and iPhone

Nirmal by Nirmal
July 7, 2012
in Apple iPad
1
Share on FacebookShare on Twitter

iPad has grown as one of the best and most popular tablet available in the market today. iPad comes with the default mobile Safari browser which is also shipped with iPhone. One of the main drawbacks of mobile browsers is that they have lesser options and one of the missing option is view source. If you are a web developer testing your web designs in mobile browsers, you might want to check the source for the webpages.

By default there is no option to view source in iPad or iPhone, but it can be done using a simple bookmarklet created by RavelRumba.

How to View Source in iPad/ iPhone:

To get started, first create a bookmark by adding any webpage, this can be done by opening any page and clicking on the bookmark button. Now save the bookmark with any name, preferably something like “View source” so as to identify it easily. Now go to this URL and copy the entire script. Now open Bookmarks once again and edit the bookmark whcih we created now.

In the URL area, paste the Javascript copied. Now save the bookmarks once again.

View source added

Now on, to view source of any website, open the website and click on the bookmark “View source”or whatever name you gave.

Open source

This will open the source code of the website in another tab.

Source code

A few things to note:

  • The source you’ll see is the DOM source (“generated source”), not the original HTML source.
  • The ends of some very long strings are partly hidden from view.
  • It works well on the iPad but on the iPhone the text wrapping does not work as well (the ends of more lines are cut off).
  • It should work in any browser that supports the white-space value pre-wrap. But I’ve only tested on iPad, iPhone, and Opera Mini on the iPhone.
  • For some reason the source code output is not fully selectable. You can Select All but you cannot define segments to select.
Recommended Reading: How to Open URLs in Chrome for iOS instead of Safari
Tags: Apple iPadApple iPhoneBookmarkletsSafariTutorialsView Source
ShareTweetSendSend
Previous Post

5 Free Security Tools for Android

Next Post

Add Shutdown, Restart and Log off Tiles to Windows 8

Related Posts

Apple iPad

How to Automatically Upload iPhone Photos to Google Photos

May 5, 2023
Apple iPad

How to Add or Delete Apps in Apple CarPlay

December 22, 2022
Apple iPad

How to View Wi-Fi Password on iPhone and iPad?

December 12, 2022
Apple iPad

How to Hard Reset iPhone or iPad

November 25, 2022
Apple iPad

How to Open HEIC Files in Windows

December 20, 2021
Apple iPad

Apple Announces new iPad Pro with 12.9 inch Display

September 10, 2015

Comments 1

  1. Sree Raj says:
    13 years ago

    Useful Stuff !

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.



Latest Articles

How to Fix “Installation can’t continue” when trying to Update Nvidia Graphics Drivers

Download Windows 11 24H2 ISO (Offline Installer)

Can I Run Windows 11 without Activating

How to Use Snapchat on PC

How to Delete YouTube Search and Watch History on iPhone

How to Use Energy Saver on Windows 11

Techniqued- Technoloy, Review and Tutorials

© 2021 Techniqued - Technology, Tips, Tricks and Reviews

Navigate Site

  • About Us
  • Advertise with us
  • Contact Us
  • Copyright Policy
  • Disclaimer

Follow Us

No Result
View All Result
  • Android
  • Freewares
  • Tutorial
  • Windows 11
  • macOS

© 2021 Techniqued - Technology, Tips, Tricks and Reviews

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.