Question Locked

abt browser choise

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hai to all!

i have a small doubt on browser is their any code retriving the page source of different browser's ..!
for example i am running the application in internet explore and i want the page source of nescape navigator that means if i run url in netscape when i view the source what source it displays i want to retrieve in our application
using asp.net

can any one give the idea on that

5 replies

by seanferd

saving the page, then viewing any components in a text editor.

Edit: View source works in IE, as well. Sometimes the source will open in a different editor, depending on your setup. IE used to have web developer tools extensions, available from microsoft. I do not know if that is the case any longer, or what versions of IE could use these. Check the ms website.

by thumbsup2

S/He obviously has some server side scripting going on which will serve up different code, depending on the browser used to visit the site. This means that using IE to always visit the site may not download code that breaks another browser. One option suggested was to use extensions in Firefox to pretend to be another browser. I've seen many instances where that doesn't always work.

Personnaly, I just install the various browsers on my machine (or several if I have to), keeping one browser as default, then visit the site with each browser and view the source code from there (save it if you need to study it later). If I need to check different/older versions of each browser, I use another computer with it still installed. And, I ALWAYS check each page in each browser using different screen resolutions just to see if the page layout converts properly.

by seanferd

but I thought this person wanted to view source code as received by some particular browser. Some (all?) Mozilla-based browsers come with dev tools to do things like this. As I understood it, we were trying to find a way to view source in IE, which, without some dev tools, will just open the html in notepad. This is why I suggest downloading content and viewing it in an editor if no dev tools are available. I have no idea any longer what MS has for possibly viewing server-side code.

If it is just a matter of seeing what works for each browser, yeah, just try 'em all.

by robo_dev

This way you can switch firefox to act like IE or netscape or opera (and firefox, obviously).

If you really want to view code, use the chickenfoot extension for firefox, along with the dom viewer and jsviewer addons.

This discussion is closed to new replies.