homepage Welcome to WebmasterWorld Guest from 54.243.13.30
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Can't View Source Code in IE
Songman




msg:573856
 12:30 am on Sep 23, 2004 (gmt 0)

I've done all the things of clearing the temporary internet files and changing the cache size. Still when Notepad opens it is a blank page. Any ideas?

Thanks.

 

nancyb




msg:573857
 1:23 am on Sep 23, 2004 (gmt 0)

try scrolling waaay down. I've seen some sites where an attempt to hide code was made by starting it 100 lines or more down.

kodaks




msg:573858
 1:32 am on Sep 23, 2004 (gmt 0)

Welcome to Webmaster World, Songman!

Do you mean the source code window does not popup at all?

jnmconsulting




msg:573859
 3:24 am on Sep 23, 2004 (gmt 0)

I have had this happen before. dump your temporary internet files. In IE tools > internet options go to section "temporary internet files" then choose delete files. This will empty your cache.

photon




msg:573860
 12:38 pm on Sep 23, 2004 (gmt 0)

There can also be an issue if you have a shortcut to notepad on your desktop.

Songman




msg:573861
 3:46 pm on Sep 23, 2004 (gmt 0)

Thanks for all the input...

kodaks, the source code window used to not pop up at all. After I deleted the temp files it started popping up an empty notepad window. I think my problem may somehow be with notepad. I can open a new notepad window by double clicking on the Notepad icon but if I try to double click a text file that would normally open in Notepad, nothing happens. No window opens at all.

jnm... already did that over and over but no change. Thanks though...

photon, no links on the desktop.

I'm starting to think that it is just time for a format and clean install. With 120gigs of C drive, backing up is a pain though! I'm a graphic designer and a musician so lots of huge files would have to be moved...

jnmconsulting




msg:573862
 3:52 pm on Sep 23, 2004 (gmt 0)

Songman,
It looks like a virus or trojan could be the culprit. There are others with the same issue even after cleaning the cache.

[edited by: BlobFisk at 5:22 pm (utc) on Sep. 23, 2004]

BlobFisk




msg:573863
 5:27 pm on Sep 23, 2004 (gmt 0)

Have you tried clearing your IE cache as jnmconsulting suggested? This is a common problem and jnmconsultings solution is the usual way of fixing this...

kodaks




msg:573864
 11:13 pm on Sep 23, 2004 (gmt 0)

You may want to try to re-install IE if all else fails.

moltar




msg:573865
 11:25 pm on Sep 23, 2004 (gmt 0)

Maybe notepad got unassociated from the filetype.

Songman




msg:573866
 11:40 pm on Sep 23, 2004 (gmt 0)

Continued thanks to all ideas here...

To those suggesting it, I have repeatedly tried emptying the cache as that is the first thing people usually suggest. In my case, it makes no difference.

I have tried rebuilding the registry. I have tried re-associating the file type. I have tried spyware and virus sweeps. And I tried the great ideas on the page jcm suggested.. Still no luck.

I finally came up with a new idea.. I switched over to Firefox for browsing and it works just fine so far. Still a problem in the computer but at least I can work around it until I decide to rebuild my system.

Thanks for all the help.

wickydoodah




msg:573867
 3:02 am on Sep 24, 2004 (gmt 0)

WOW, what timing! I just read the following article this evening in October's PC Magazine.

In both Outlook and Internet Explorer, right-clicking and choosing View Source currently does not work on my computer. The source for the message or page is not displayed, though the feature worked until recently.

There are many possible causes for this.

If your browser cache is full, View Source can fail. To see if this is the case, select Internet Options from IE's Tools menu, click on the General tab, and click on the Delete files button in the Temporary Internet Files pane.

View Source can be disabled for a specific browser window if that window is launched via JavaScript. If View Source is disabled for all pages, this is not the cause.

View Source is always disabled when a page has not finished loading (a clue here would be that File Save As is also disabled). Again this is probably not the cause.

If Notepad.exe is missing from the Windows folder, View Source will fail.

View Source can fail if the TEMP or TMP environment variable points to a nonexistent folder. Open a command prompt and enter the commands SET TEMP and SET TMP to view the values of these variables.

A Registry setting can restrict the availability of this command. Launch REGEDIT from the Start menu's Run dialog and navigate to HKEY_CURRENT_USER\Software\ Policies\Microsoft\Internet Explorer\ Restrictions. Look in the right-hand pane for a value named NoViewSource. If present with data set to 1, double-click on it and change the data to 0.

A Registry setting may point to the wrong program to invoke for View Source. Launch REGEDIT and navigate to HKEY_LOCAL_MACHINE\Software\ Microsoft\Internet Explorer\View Source Editor\Editor Name. If this key exists, the data for the default value in the right-hand pane should be the full pathname of notepad, typically C:\windows\notepad.exe. If not, verify the correct location of notepad, double-click on the default value, and correct the data.

A Group Policy setting can disable the View Source menu item. From the Start menu's Run dialog, launch GPEDIT.MSC. If this command is unrecognized, a Group Policy setting is not the cause. Otherwise, in the Group Policy Editor, navigate to User Configuration\Administrative Templates\ Windows Components\Internet Explorer \Browser menus. In the right-hand pane find the item View menu: Disable Source menu. If it's set to Enabled, change it to Disabled.

Note that the Temporary Internet Files problem (the first item) is the most common reason for View Source to fail. If that doesn't help, go through these possibilities until the problem is cleared up.

Hope one of these solutions fixes the problem for you.

Songman




msg:573868
 8:07 pm on Sep 24, 2004 (gmt 0)

Thanks wicky...

I went through all of your items there. The funny thing is that I didn't have any of those items in my registry. Strange enough...

But I did get it fixed. I went to my laptop that is hooked up on my wireless network and copied the notepad from it into the shared docs folder and then replaced the notepad in my system with it. No change. But when I replaced the one in my System32 folder I found that the size was different and after that it worked... Somehow that one had been replaced or corrupted. It was still an exe and not a com but that was the culprit! Thanks to all for the help.

I am liking Firefox pretty well though. The built in pop up blocking is pretty neat and it is a lot faster than IE. Haven't found any inconsistencies yet.

ricfink




msg:573869
 2:58 am on Sep 25, 2004 (gmt 0)

I don't know if this will help, but you can view source by loading the page and then putting this little piece of javascript in the address bar and clicking refresh:

javascript:'<xmp>'+document.documentElement.outerHTML+'</xmp>'

It's nice because the source comes up in the browser window instead of in notepad.

(works in IE - don't know about the other browsers)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved