Okay, so I know that this isn’t the majorest of questions, but…
On my new computer, when I go to View>Source in Internet Explorer (or right click and choose “View Source”), nothing comes up. On any webpage… even my own, which I know has no encoding to prevent the source from being seen.
What’s keeping the View Source window from popping up? Or how do I enable it?
But on my computer, when the cache of temporary internet files fills up, I can’t view source, and have to empty it by going to Tools/Internet Options, and under temporary internet files, click Delete Files.
I haven’t really searched it out; maybe there’s a patch or something to fix it. I just know I need to do this every several months when it pops up.
Is that why people do that? I’ve always wondered what the heck people were thinking when they put a metric assload of blank lines at the top of all their HTML pages. Jeez. It never once occurred to me that it was some sort of attempt to hide the source.
I’ve had this problem on one of my boxes for ages and can’t seem to fix it directly. What I have done though is put a link on my “Links” bar that has the href:
(take the spaces out of “java script” and “about :blank” - it’s the board security adding them in)
When this link is clicked it opens a new browser window and dumps the raw text of the document in the current window into it. It also shows up anything that was written to the document using javascript, so HTML document encrypters don’t work against it.
You can’t use it to view the source of individual frames unfortunately - I keep meaning to hack it into the registry so it comes up on the context menu, but haven’t got around to it yet.
Tell me you’re kidding… you haven’t seen messages like this? “You have been blocked from viewing the source” or some garbage.
There really is a way to block the “view source” ability, but you need a signed script to do so, and even there are workarounds.
A quick and dirty one simply disables the context menu (the right-click menu), but that won’t stop any of the other million methods to view source.
Anyone who wants to know what the document source is is likely to know how to get it no matter what. I’ll never figure out why people try so hard to hide it.
I’ve seen people use the right-click disable technique to keep you from copying images too. If nothing else, you can just do a screen grab and cut it from that. If someone wants something off your site badly enough, there’s usually a way to get it.
The right-click disabling is done in Javascript, so no javascript, no problem. Like Achernar, I’ve never found a website with any “restrictions” that I felt any need to copy. Thought I admit I normally try to hack their “restrictions” out of spite.
Somewhat relevent to OP: I once found an odd bug in NS 4.7x where certain Javascript wouldn’t appear. (Thought it would work ok). I was trying to copy my own code off my own site at the time, and it confused the heck out of me, 'cause I knew exactly what should be there, and it wasn’t.