6 ms·
This is more of a "hacker" tip than something for web developers but "Show Page Source" will show you the full raw HTML for any page. Be careful where you use i
by bondolo 5y ago
This is more of a "hacker" tip than something for web developers but "Show Page Source" will show you the full raw HTML for any page. Be careful where you use it though as it is illegal in some states.
- yial 5y agoI was fascinated, but I cannot find any sources that say viewing the source is illegal. Reusing it as your own, yes if not licensed for that. Viewing it? No. You’re viewing the rendered source code when you load the page? https://www.techdirt.com/articles/20071017/092927.shtml https://www.techdirt.com/articles/20071017/092927.shtml
- Mikeb85 5y agoJoke but kinda real as some US state put sensitive info into HTML and is attempting to prosecute someone for finding it.
- ano88888 5y agogot to find revenue for prisons
- lowercased 5y agoI think it was meant as a joke reference to a recent news piece where a state agency website had raw personal data in the source code, and 'view source' would show sensitive data (teacher data - names, social security numbers, etc). https://arstechnica.com/tech-policy/2021/10/missouri-gov-calls-journalist-who-found-security-flaw-a-hacker-threatens-to-sue/ https://arstechnica.com/tech-policy/2021/10/missouri-gov-cal... is probably what was being referenced.
- oblib 5y agoI live in Missouri, in the deep Red Ozark Mountains in the SW part of it and I shared an article on that on FB in a local group. Our Governor really blew it on this one. Folks here will generally stand by their GOP Party and for the most part they never talk about Parson here but this really pissed them off. I was surprised by the comments and the number of them. They are pissed about the incompetence of those who built the website and quite a bit more so that Parson would try to charge the journalist with a crime for finding it. We're all just shaking our heads over that.
- uranusjr 5y agoFYI the P in GOP already stands for Party.
- techbio 5y agoIsn't it a little strange that these red-staters don't even know their own name? The lowercase "party" in my mind removes the redundancy as a class description for the collection of all political parties rather than as part of an abbreviated name for the one in question. Unlike the "P" which stands for Preproccessor, in PHP. Edit: whoops, they are both capitalized. Too bad I wrote with an ink pen.
- albemuth 5y agoI LOLd out loud when I saw it
- oblib 5y agolol... yeah that was a typo. I make those sometimes to see if anyone will notice.
- skeletonjelly 5y agoYes officer this comment right here!
- iudqnolq 5y agoVery annoyingly it doesn't show you the full HTML for the page you're viewing. It does a new HTTP request (I think without cookies at least in Firefox) and shows that. This means you need to use inspect element if you have dynamically generated HTML either from JS or non-idempotent server sides.
- freediver 5y agoAnnoyingly most browsers do this. One of the first things we implemented in Orion browser was to use the source you already have.