<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
A seasoned developer's little discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


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.

Labels: ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

»

Post a Comment