What's new
Apple iPad Forum 🍎

Welcome to the Apple iPad Forum, your one stop source for all things iPad. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How do I view page source in Safari?

KevinJS

Super Moderator
Staff member
Joined
Aug 6, 2011
Messages
10,698
Reaction score
1,547
Location
Edmonton AB Canada
Sorry. I missed a bit. You need to go advanced first.


See screenshot.



image-2036322683.jpg

Sent from my iPad using iPF
 

DarkRavenMoon

iPF Noob
Joined
Dec 26, 2011
Messages
50
Reaction score
7
Ahh prob an option on the iPad version as that was the advanced section lol

I'm on my iPhone :)
 

DarkRavenMoon

iPF Noob
Joined
Dec 26, 2011
Messages
50
Reaction score
7
Ignore me I found it - had to go to my list of forums page as opposed to the posting page of this forum..

bepy2e3y.jpg
 

KevinJS

Super Moderator
Staff member
Joined
Aug 6, 2011
Messages
10,698
Reaction score
1,547
Location
Edmonton AB Canada
Let's have a butchers!



image-3158911394.jpg

Yup! Works on the iphone too. Touch the title of the thread to enter website view.

Sent from my iPhone using iPF
 
OP
A

ardchoille

iPF Novice
Joined
Apr 21, 2012
Messages
1,471
Reaction score
446
Want to view the source code of a web page in mobile Safari on your iDevice?

Bookmark any page then edit it, name it 'View Source' and change the address to this:



Damn emoticons! Sub the :( for a : and a (

1. Open Safari.
6y5y6eba.jpg


2. Go to any web page (google as an example).
ybedaqy9.jpg


3. Once there add the page as a bookmark.
saha4y3u.jpg


3a.
7y6u5ume.jpg


3b.
me3uzyda.jpg


4. Rename the page to 'View Source' and save it.
uqape7uh.jpg


4a. So it looks like this.
sygu7y3e.jpg


5. Tap 'Edit'.
a5y4ezys.jpg


6. Select the bookmark you renamed earlier so that you can edit the address.
regenuby.jpg


7. Remove the address and paste the JavaScript from the top of my post.
ugubyzuh.jpg


All done ;) So, now no matter which web page you are viewing you can simply select 'View Source' from your bookmarks and the source code will open in a new window :)

Enjoy

Hey, nice bookmarklet there! Will definitely come in handy. Thank you :)
 

KevinJS

Super Moderator
Staff member
Joined
Aug 6, 2011
Messages
10,698
Reaction score
1,547
Location
Edmonton AB Canada
DarkRavenMoon said:
Ignore me I found it - had to go to my list of forums page as opposed to the posting page of this forum..

Neat. Didn't know that was there. Live and learn, eh?

Sent from my iPhone using iPF
 
OP
A

ardchoille

iPF Novice
Joined
Apr 21, 2012
Messages
1,471
Reaction score
446

twerppoet

iPad Fan
Joined
Jan 8, 2011
Messages
24,214
Reaction score
15,599
Location
Milton-Freewater, OR
Ignore me I found it - had to go to my list of forums page as opposed to the posting page of this forum..

Glad you found something, however the real problem is that you and Kevin are talking about two different apps. He is using iPF (Discussion Forum for iPad Users). I'm not sure what app you are using, though I'm guessing Tapatalk.
 
Last edited:

DarkRavenMoon

iPF Noob
Joined
Dec 26, 2011
Messages
50
Reaction score
7
Let's have a butchers!



View attachment 31325

Yup! Works on the iphone too. Touch the title of the thread to enter website view.

Sent from my iPhone using iPF

I must have a different version then as I can only access the following settings from this thread by selecting the top right button and nothing at all from the title.

7u9edu6y.jpg


Anyway, we digress :) Enjoy the JavaScript ;)
 

DarkRavenMoon

iPF Noob
Joined
Dec 26, 2011
Messages
50
Reaction score
7
? Creating the bookmarklet IS a short cut isn't it...? So far as I know this is the only way of viewing the source code of a website using mobile safari.
 

Most reactions

Latest posts

Top