Forum Moderators: open

Message Too Old, No Replies

Can't view source in IE

         

MozMan

4:51 pm on Apr 1, 2004 (gmt 0)

10+ Year Member



Anybody know why I might not be able to view source? I'm using IE 6, and if I right-click, then go to view source, or even if I use the menu View>Source, nothing happens. I can't find anything in MS's knowledge base about this, and it's pretty irritating. The only way I can get to the source is to do a File>Save As to my desktop, then open it with notepad.

Thanx!

-Moz

grahamstewart

5:41 pm on Apr 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



sometimes happens when IEs cache is full.
Empty the cache and try again.

MozMan

5:53 pm on Apr 1, 2004 (gmt 0)

10+ Year Member



That helped! Thanx a bunch, I really appreciate it.

-Moz

DrDoc

1:48 am on Apr 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



sometimes happens when IEs cache is full

...or if there's a shortcut to Notepad on your desktop

MozMan

4:44 pm on Apr 2, 2004 (gmt 0)

10+ Year Member



Wow. That's interesting... I don't have a shortcut on my desktop, but I do have one on my taskbar.

At any rate, since clearing the cashe, the problem is alleviated, but I appreciate the additional information.

-Moz

WeirdoPL

9:29 pm on Apr 2, 2004 (gmt 0)

10+ Year Member



Occurs very often to me when the source is bigger than Notepad-size...
But that's probably the cache-related issue.
It only occurs in IE.

I've heard of pages which have this option disabled, but I've never seen one myself. Treat this as gossip.

MozMan

9:52 pm on Apr 2, 2004 (gmt 0)

10+ Year Member



>>>I've heard of pages which have this option disabled, but I've never seen one myself. Treat this as gossip.<<<

:^) Well, I'm trying to view source on the pages I created, so I know this is not the case.

-Moz

Robert Charlton

7:40 am on Apr 3, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I've heard of pages which have this option disabled, but I've never seen one myself. Treat this as gossip.

I came across one site the other day that did this and almost posted to ask about it. Haven't a clue what they did. Emptied my cache and the whole bit... I could view source on other sites, but not on this one. Treat this as one observation.

john_pinx

8:55 am on Apr 3, 2004 (gmt 0)

10+ Year Member



Take a look at <edit> and try right clicking. I've disabled it but put a message up. I *could* disable it and say nothing - leaving everyone to wonder what's wrong ;-)

john_pinx

<Sorry, no personal URLs. See TOS [webmasterworld.com]>

[edited by: tedster at 7:11 pm (utc) on April 3, 2004]

grahamstewart

10:54 am on Apr 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



John, don't bother, it's not worth it. It doesn't provide any protection for your code at all.

In IE you can:
- just go to View->Source
- hold the left button and then click the right one
- press the Context Menu key on a Windows keyboard
- turn off javascript

Also a lot of browsers have handy functions on the right click menu and I wouldn't thankyou for disabling it.

BTW I think you should take a look at your source - there are a few nasty errors in it - particularly because your keywords and description are screwed up.

Leosghost

11:08 am on Apr 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You can do it you want
...I did on my personal site
....problem is afterwards you can't debug on server
...copy and paste
...you name it ...you cant do it!
..apart from reboot the machine the browser is on to get control back again ....there is no way to view or copy anything with this code running..

and it only works on windoze ( all flavours )....

Exploits a bug in all flavours of explorer....

But ....when you see what it does ...you are actually hacking the other guys machine ....

So its a bad thing .....

And I aren't gonna tell you how ....

grahamstewart

12:42 pm on Apr 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Leo: sticky me the site and I'll sticky you back the source. Trust me, there is NOTHING you can do to prevent someone getting the HTML source if they really want it.

john_pinx

12:57 pm on Apr 3, 2004 (gmt 0)

10+ Year Member



Of course there isn't - and that's not my intention.

I am preventing the casual copyright infringement, and by doing so causing a serious copyright infringement to be extremely obvious and easily provable.

You have to make an effort to copy my code - that's all I want. The code is copyright - you copy it - I sue :-)

grahamstewart

1:09 pm on Apr 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



But John - there is nothing particularly unique about your site or your code so even if someone did lift your code you would never be able to prove it.

All your are doing is annoying visitors who want use the right button for perfectly legitimate purposes.

john_pinx

1:34 pm on Apr 3, 2004 (gmt 0)

10+ Year Member



Of course this website is nothing special - I wasn't about to tell you the url of the important ones. ;-)

If an image is a piece of art and needs *some* protection - this is better than nothing. I'd be *very* interested in alternatives :-)

john_pinx

tedster

7:20 pm on Apr 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sorry, folks, but this thread is WAY off the original topic (view source stopped working for MozMan and he got his fix in the second message.

This business of disabling right click comes up several times a month and is beaten to death. Yes, there are javascripts to do this. No, they don't deter anyone who is serious about getting an image or text.

So I am declaring this thread officially done,