Lightweight chrome extension to alert when HTML of a visited site contains interesting comments
Many websites hide interesting text in HTML comments or dev console logs, see NYT article on White House "A call for coders".
Instead of wondering how do people find this stuff I decided to make something to find this stuff.
I'm only just getting started, but I can promise one thing - the UI won't be pretty.
A call to dev's is hidden in the White House's HTML comments
Ref: WhiteHouse.gov
Ref: Medium.com
Ref: Reddit.com
Ref: KevinGleason.me
- (Done) Scan for HTML comments and try to write some rules to filter out interesting ones
- (Done) redirect console.log to capture log output and find interesting console output
- Todo: In order to get access to dev log, needs to inject code into DOM and overwrite the
console.log
function. Should be able to opt out of this. Use chrome.storage APIs.
- Todo: In order to get access to dev log, needs to inject code into DOM and overwrite the
- Todo: Any way to notify on hidden forms or links on the page? Might be overkill, can imagine a lot of hidden items.