DarkRavenMoon
iPF Noob
Thanks for the like by the way
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.
2. Go to any web page (google as an example).
3. Once there add the page as a bookmark.
3a.
3b.
4. Rename the page to 'View Source' and save it.
4a. So it looks like this.
5. Tap 'Edit'.
6. Select the bookmark you renamed earlier so that you can edit the address.
7. Remove the address and paste the JavaScript from the top of my post.
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
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..
What you are doing above is known, in general terms, as a bookmarklet. A bit of javascript tucked away in a bookmark.
Here are quite a few more. I don't think your example is among them, but I haven't looked at them all in a while.
http://www.ipadforums.net/ipad-faq/72353-guide-creating-safari-bookmarklets.html#post519309
Ignore me I found it - had to go to my list of forums page as opposed to the posting page of this forum..
Thank you for that link, I can use almost all of those
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
Hey, nice bookmarklet there! Will definitely come in handy. Thank you