search html source codes in webpages??

March 28, 2011 at 05:43:19
Specs: Windows 7
Hello.
Is it possible to search pages' source codes with google?
Thanx.

See More: search html source codes in webpages??

Report •


#1
March 29, 2011 at 17:09:14
Every modern browser has a "View Source" option available by either right-clicking the web page or within a menu. In Firefox, I can go to View > Page Source or press Ctrl+U. Keep in mind that you can only view client-side script like HTML, CSS, and JavaScript. You can't read PHP because that's handled server-side before it gets passed to your web browser.

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •

#2
March 31, 2011 at 02:25:59
Thanks Xps86 .

But i know this and just want to search the html source codes of webpages with google.
For example i want to search sites and pages that contains the code " <input type=file ".
There is code search in google but i can't search with it with more features like inurl operator and . . .
Is there any way to do like this?
Thanks.


Report •

#3
April 1, 2011 at 00:12:51
I guess I don't know how to search for that. There is a guide on search operators which include a few I didn't know about, but I don't think any would be of help:
http://www.googleguide.com/advanced...

Search engines don't exactly see web pages the way we do. Here's an example:
http://www.domaintools.com/seo-brow...
Notice it looks almost the same as for us, but just lacks some formatting. They interpret the code but don't index it as code, so I don't think you can search by source code. The search operators don't give information otherwise unseen by us, they just allow different ways of searching and listing information. Hopefully you understand what I mean as it was a bit difficult to explain.

I'm curious why you're looking for web pages that use

<input type=file

in their source code. Maybe we can work out another solution to what you're overall trying to do.

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •

Related Solutions

#4
April 2, 2011 at 03:24:57
Thank you very much Xps86.
I understand what you mean.
I'm just trying to find webpages those use special codes which i'm searching for. like the code i gave above which points to a file upload page.
So another way is that we use an application or tool to just search all html source codes of a special website in a moment.like this we visit all pages of a site and view source code and search for our code between codes.
And the question is :
is there any tool or addon for firefox web browser or other browsers to explore all pages and source codes of sites?
Thanks for your help.

Report •


Ask Question