STEPS
METHOD 1 OF 2: CREATING THE BOOKMARK
1
CREATE A BOOKMARK. It does not matter what website you assign to the bookmark, just go to a random site and bookmark it for now. 2
AFTER YOU\'VE CREATED YOUR BOOKMARK, SELECT THE LITTLE ICON AT THE BOTTOM OF YOUR WEB BROWSING SCREEN THAT LOOKS LIKE A BOOK. This will make you view a list of all of your bookmarks. 3
NOW TAP ON THE BUTTON THAT SAYS "", LOCATED AT THE BOTTOM OF THE BOOKMARKS SCREEN. This allows you to change the names and website addresses of your bookmarks. 4
TAP ON THE BOOKMARK YOU JUST MADE. You can now change the name and address of this bookmark. 5
CHANGE THE NAME TO SOMETHING THAT YOU LIKE AND WILL REMEMBER DISTINCTLY FROM OTHER BOOKMARKS "SOURCE CODE" OR "WEBSITE SOURCE". 6
REPLACE THE ADDRESS WITH THE FOLLOWING JAVASCRIPT CODE: javascript:(function(){var a=window.open('about:blank').document;a.write('Source of '+location.href+'');a.close();var b=a.body.appendChild(a.createElement('pre'));b.style.overflow='auto';b.style.whiteSpace='pre-wrap';b.appendChild(a.createTextNode(document.documentElement.innerHTML))})(); METHOD 2 OF 2: USING THE BOOKMARK
1
NOW GO TO ANY WEBSITE OF YOUR CHOICE. 2
SELECT THE BOOK ICON AT THE BOTTOM OF YOUR WEB BROWSING SCREEN. 3
THEN, FIND YOUR SOURCE CODE BOOKMARK AND TAP ON IT. In a new page, it will show you the source code of the website you're currently on. Know another method for How to CREATE A BOOKMARK TO VIEW THE SOURCE CODE OF A WEBSITE ON AN IPHONE? Add it here... 1. Add Method
TIPS
Giving your source code bookmark a name like "Source Code" will make it easier to sort it out from your regular bookmarks.
WARNINGS
Do not copy all of the source code of a webpage or website and insert it into your own website without permission. Otherwise, it's considered copyright.
THINGS YOU\'LL NEED
iPhone
Internet Connection
No comments:
Post a Comment