1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Notepad freezes when viewing source in IE8

Discussion in 'Internet Explorer & Microsoft Edge' started by Syncopator, 2011/03/17.

  1. 2011/03/17
    Syncopator

    Syncopator Inactive Thread Starter

    Joined:
    2006/07/09
    Messages:
    185
    Likes Received:
    1
    Clicking View/Source opens up notepad and it displays the source code, but when I try to scroll it ignores the mouse.

    If I click on the window I get the Not Responding message at the top and have to shut it down.

    It used to work ok.
     
  2. 2011/03/17
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,315
    Likes Received:
    252
    What source code are you viewing?
    Does it have a few thousand lines of code?
     

  3. to hide this advert.

  4. 2011/03/17
    Syncopator

    Syncopator Inactive Thread Starter

    Joined:
    2006/07/09
    Messages:
    185
    Likes Received:
    1
    Since I can't scroll I can't see how many lines, but I would think a few hundred at most.
     
  5. 2011/03/17
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,315
    Likes Received:
    252
    How about this question:

     
  6. 2011/03/17
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Does problem occur on any site or just one? If just one site, post the URL.

    You could try File > Save as > Web page complete, then open the page in Notepad or Wordpad. However, when saving the page, the source code will get modified: the anchors will get changed to the loacal paths and sometimes the layout code gets changed too.

    To view the actual source, install Wget, a Linux app that retrieves Web documents. Here's the version for windows: http://gnuwin32.sourceforge.net/packages/wget.htm

    Open a command prompt and type:
    Code:
    wget http://address-of-the-particular-page
     
  7. 2011/03/17
    Syncopator

    Syncopator Inactive Thread Starter

    Joined:
    2006/07/09
    Messages:
    185
    Likes Received:
    1
    I don't really know what you are asking. I'm trying to read the html etc of any given page.


    It happens on any site.

    That's all very well Tony, and I don't doubt that it would work, but since the View/Source function is built in I really want to use that.
     
  8. 2011/03/17
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Try this:
    Internet Options > Programs > select a different editor for View Source. Then try to view a page's source. If no luck then we know the browser is at fault. If all OK then we know Notepad is at fault.

    If works with another editor then try switching back to Notepad and test again.

    If no luck, verify that the registry value for Default HTML Editor is correct:

    Start > Run > regedit
    Go to:
    HKCU / Software / Microsoft / Internet Explorer / Default HTML Editor / shell / edit / command

    The value should be:
    %SystemRoot%\system43\NOTEPAD.EXE %1
     
  9. 2011/03/17
    Syncopator

    Syncopator Inactive Thread Starter

    Joined:
    2006/07/09
    Messages:
    185
    Likes Received:
    1
    Internet Options > Programs > doesn't have View Source, it has HTML editor which I presume is the same thing.
    Anyway, the asociated window was blank. The drop down offered only Notepad, so I clicked on that.
    No difference I'm afraid. View > Source still behaves the same.

    Internet Options > Programs > HTML editor still shows Notepad, but the drop down still has no other option, not even blank.

    I checked the registry entry and the value is as it should be.
     
  10. 2011/03/18
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    IE8 doesn't use Notepad to view source by default, it uses the built-in viewer, which is part of the Developer Tools in Internet Explorer 8.

    To change the View Source Editor in IE8 (and IE9):

    • Open Internet Explorer
    • Press the F12 button to start the Developer Tools
    • From the File menu, select Customize Internet Explorer View Source
    • Select one of the options

    I'd try changing it back to default, then re-selecting Notepad (if that's what you want) and see if that fixes it.
     
    Arie,
    #9
  11. 2011/03/18
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    I'd suggest: %SystemRoot%\system32\NOTEPAD.EXE %1
     
  12. 2011/03/18
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    LOL...my fingers don't always do what I want them to do.
     
  13. 2011/03/18
    Syncopator

    Syncopator Inactive Thread Starter

    Joined:
    2006/07/09
    Messages:
    185
    Likes Received:
    1
    Ok, thank you Arie.

    I did that. The default was selected but I changed it to Notepad.

    That worked fine. I changed it back to default and it doesn't work.

    (I hadn't really noticed that Notepad wasn't the default reader.)
     
  14. 2011/03/19
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    OK, so you are now saying that Notepad works, but not the default (Developer Tools)?

    Two suggestions I can think of:

    1. Set it to use Notepad
    2. Uninstall & Reinstall IE8
     
  15. 2011/03/19
    goddez1

    goddez1 Inactive

    Joined:
    2002/01/12
    Messages:
    2,975
    Likes Received:
    49
    Hi Syncopator,

    I wonder if the reg patches offered by the following site will help you. You are going to have to scroll to the dialogue offering the patches:
    viewsrc_ie8.zip and viewsrc-default.reg

    Found under the heading or description "Method 2 manual fix ": (read carefully) As always, "practice safe reg-editing ". Back up either the reg hkeys involved or the registry before editing.

    Here's the link:
    http://www.winhelponline.com/blog/default-view-source-editor-changed-in-ie8/

    The link below had at least one instance of registry not retaining the setting. This was the problem and solution for that: ( reg patches will take care of this snafu also)
    http://www.wiredprairie.us/blog/index.php/archives/741

    ------------------
    I know this is what Arie and others have suggested but rather then having to rely on yourself to do this, without error, or to take the fear of the process of editing the registry, for other members, I have made a pain in the butt of myself by posting a redundant thread. Always looking for a way to take some of the sting out of a process or fix, this is not the first time nor the last.
     
    Last edited: 2011/03/19
  16. 2011/03/19
    Syncopator

    Syncopator Inactive Thread Starter

    Joined:
    2006/07/09
    Messages:
    185
    Likes Received:
    1
    Yes.

    1. I prefer the one in Developer Tools so I'm reluctant to give up on trying to get it working properly again.

    2. I've done that. I uninstalled it, cleaned the registry with JV16's registry cleaner. Downloaded a fresh copy of IE8 using Firefox, and installed it. It downloaded updates automatically.

    The source viewer still locks after trying to scroll.
     
  17. 2011/03/19
    Syncopator

    Syncopator Inactive Thread Starter

    Joined:
    2006/07/09
    Messages:
    185
    Likes Received:
    1
    I have swapped those two registry entries back and forth a couple of times, but the default one still doesn't scroll, and locks (displays the Not Responding message) when I click in the window.
     
  18. 2011/03/20
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    1. Delete ALL Temporary Internet Files & cookies, history, site preferences, etc.
    If no joy, go to 2.

    2. Disable all Add-Ons, Accelerators, toolbars, etc.
    If OK, enable them 1x1 and see which one causes the problem.
     
  19. 2011/03/23
    Syncopator

    Syncopator Inactive Thread Starter

    Joined:
    2006/07/09
    Messages:
    185
    Likes Received:
    1
    1. Deleted them all without success.

    2. The problem still exists with all disabled.

    :confused:
     
  20. 2011/03/23
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Darn. :(

    The majority of IE 8 crashes/freezes are caused by Add-Ons & Toolbars.

    You're not alone in this. IE 8 has a history of freezing when using its own "view source" module.

    Internet Explorer 8 view source freezes
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.