Richard Korts
asked on
See HTML Source in Chrome
I realize I'm living in the dark ages, but how do I show source in Chrome?
I'm using the debug console
This is very useful, because my programs are almost all in php, I need to see the html, javascript so I can get the line numbers
I'm using the debug console
This is very useful, because my programs are almost all in php, I need to see the html, javascript so I can get the line numbers
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
One thing to remember is when you do "View Page Source" it is going to show you what the page is when it is first loaded, not after any ajax requests that have made any changes are executed. If you are trying to see that stuff it is still go to use the inspector and look at the "Elements" tab.
ASKER
Jeffery, I understand that.
ASKER
Thanks, I knew it would be obvious, that is easier than Firefox.
I've just about said to hell with Firefox.
Richard
I've just about said to hell with Firefox.
Richard
Welcome, glad that helped. Yes, I moved from a faithful FF user to the "dark side" and have become a 90% Chrome user now. It's hard to argue with the data, and I still have some extensions that I never found a Chrome "as good as" substitute for, but the world seems to have adopted Chrome, so when developing web apps it's a primary focus, and I expect it's the browser that most sites render in. But I still don't trust Google...
»bp
- StatCounter Global Stats - Browser, OS, Search Engine including Mobile Usage Share
- Usage share of web browsers - Wikipedia
- Browser Statistics
»bp
Just so you know to, which I have never liked in Chrome is when you do "View Page Source" it does a new request to the same url and gives you that page source. Firefox gives you the source of the page that you are currently viewing. Might not matter to you, but just something to know.
ASKER
I'm considering, strongly, Chrome for these reasons.
(1) The debugging capabilities that show you the exact line of the rendered source.
(2) Last time I looked, it's now the leading browser; I think wwwschools track this, might be somewhere else.
(3) Most of my customers use it.
I am personally afraid of Google, as I am of Amazon and to some extent Apple.
Those 3 are DOMINANT forces, much as Microsoft once was (and still is to some extent), I can see the possibility of either Amazon or Google of effectively taking over the world. I think it's scary, they have such HUGE clout.
Thanks
(1) The debugging capabilities that show you the exact line of the rendered source.
(2) Last time I looked, it's now the leading browser; I think wwwschools track this, might be somewhere else.
(3) Most of my customers use it.
I am personally afraid of Google, as I am of Amazon and to some extent Apple.
Those 3 are DOMINANT forces, much as Microsoft once was (and still is to some extent), I can see the possibility of either Amazon or Google of effectively taking over the world. I think it's scary, they have such HUGE clout.
Thanks
I would say your third reason should influence you the most. In all honestly if you are building web apps you should try to use all the major browsers to check if they work well.
ASKER
Yeah, I know. But like right now I've been working since 4:30 AM on 4 issues my customer is having, so far I have solved NONE.