Tools to search within HTML source of web pages

While trying to test a bookmarklet that unblocks a password textbox from having anything pasted into it, I was looking for sites that impose this restriction. For this I wanted to know web pages which have the type="password" onpaste="return false" within the HTML source code.

I found out the following tools can help developers search for keywords within the HTML, CSS and JavaScript of web pages hosted on thousands of domains:
NerdyData
meanpath
Globalogiq

Only NerdyData is free service while meanpath & Globalogiq are commercial products that let you evaluate their service.

I found meanpath most helpful. I learnt that there are 10,012 instances of my search keywords type="password" onpaste="return false" in its November 2014 index of 141,670,458 live domains.

The searchcode search engine lets you search for source code hosted within projects on Github, Bitbucket, Google Code, Codeplex, Sourceforge, Fedora Project.

HTTP Archive is a related helpful resource. It is a permanent repository of web performance information such as size of pages, failed requests, and technologies utilized. This performance information allows us to see trends in how the Web is built and provides a common data set from which to conduct web performance research.

Comments