What's new

How do I view page source in Safari?

Sorry. I missed a bit. You need to go advanced first.


See screenshot.



image-2036322683.webp

Sent from my iPad using iPF
 
Let's have a butchers!



image-3158911394.webp

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

Sent from my iPhone using iPF
 
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 :)
 
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
 
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:
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 ;)
 
? 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

Back
Top