Forum Moderators: open
<added>Opera lets you pick your own source viewer too, last I checked, which is very convenient if you have a preferred viewer, something a little better than notepad or frontpage. I don't know if it offers the view source in a tab feature.
I set View Source open the html document in Homesite - and that one simple action has saved me so much time every day, both in development and in research. I almost always have Opera and Homesite open, and it's like browsing the web with a surgery kit close at hand.
I use view source with notepad, but you can't view the source in notepad if you're being redirected away from the page, but view-source: in the address bar does it with IE in those cases.
For example, this page has a 302 redirect also so I can't see the actual page at all no matter what, but I can see the source code anyway with view-source:http://www.comain.com
<META Http-equiv="refresh" Content="0; Url=http://www.somedomain.com"> <a href="http://www.otherdomain.com">Click here if you see this</a>
Do any of those work the same way?
I'm thinking that opening source in notepad is a selectable somewhere - like in the html options, or something?
[As to your Meta http statement, I haven't tried it in a browser addy.... so maybe I'm basically not seeing what it is you're after....]
you can't view the source in notepad if you're being redirected away from the page
You can easily reset Opera preferences so it will NOT perform redirects. If any code gets sent to your browser, you can view it.
You also have right-click access to "view frame source". That can be a helpful feature as well.
There's some cloaked pages I want to dig into and those particular ones are the very type I'm afraid to get near with IE - and just because I can't it's driving me crazy.
I'll download Mozilla and give it a try. And Opera, I don't have it on this machine and that's what I've always used to easily turn of JS - so those weren't a problem. But I didn't know you could stop redirects - especially 301 or 302.
Thanks!
Mozilla, for example, lets you view the source for a selected section of the page (which is really convenient).
You can do this in IE too - you have to download and install "Microsoft Internet Explorer 5 Web Developer Accessories" from the MS website. The documentation states that it only works in IE5.5, however I know from experience that it works just fine with IE6 as well. Once installed, you can highlight a portion of the page then right-click and select "View Partial Source". It also gives you the option to view the Document Tree (as interpreted by IE). Both are very handy features. It's a small download and easy install.
Key Name
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Default HTML Editor
Value Name
Description
Value Type
REG_SZ
Value Data
"Notepad"
Key Name
HKEY_CURRENT_USER\HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Default HTML Editor\shell\edit
Value Name
Default
Value Type
REG_SZ
Value Data
"&Edit"
Key Name
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Default HTML Editor\shell\edit\command
Value Name
Default
Value Type
REG_SZ
Value Data
"C:\\WINNT\\notepad.exe %1"
I thought it was part of the "default" install of all forms of 'doze since 98?
Au Contraire, I believe MS pulled that feature out of fear that users would play around too much and break the installation then pester tech support (remember when they offered that?). It was a toolkit addon in 98SE, and I believe not on the disks at all as of w2k and w2k consumer, ie xp.
Oh, and there is also "Reload Source", which does as expected, and is an excellent resource for testing pages.
Or, even better, you can select some text and then
Right-click > View Selection Source, if you only want a few lines.
You might also try Amaya (it has line numbers)
but you can't view the source in notepad if you're being redirected away from the page
Have you tried using Lynx? Just tried it out myself.
Made a page pagetoredirect.htm with the following line: <META Http-equiv="refresh" Content="0; Url=http://www.mydomain.com/page-im-redirected-to.htm">
In a graphical browser, I was redirected to the page-im-redirected-to.htm. In Lynx, I stayed on pagetoredirect.htm.
Use the " \ " key to view source.