gotcha5832
iPF Noob
Hi,
I just got my webpage, And I'm looking how edit a webpage, in order to see the source?
Thanks
I just got my webpage, And I'm looking how edit a webpage, in order to see the source?
Thanks
iLloyd said:Create a bookmark... Any we page will do.
Then go into bookmarks go to edit and copy this to the page link...
javascriptfunction(){var a=window.open('about:blank').document;a.write('<!DOCTYPE html><html><head><title>Source of '+location.href+'</title><meta name="viewport" content="width=device-width" /></head><body></body></html>');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))})();
Rename book mark something like "view source"
Job done
PerfectCreate a bookmark... Any we page will do.
Then go into bookmarks go to edit and copy this to the page link...
javascriptfunction(){var a=window.open('about:blank').document;a.write('<!DOCTYPE html><html><head><title>Source of '+location.href+'</title><meta name="viewport" content="width=device-width" /></head><body></body></html>');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))})();
Rename book mark something like "view source"
Job done