Obfuscate.js: clean sensitive information out from web page screenshots
The Web Dev Zone is brought to you in partnership with Mendix. Discover how IT departments looking for ways to keep up with demand for business apps has caused a new breed of developers to surface - the Rapid Application Developer.
- Obfuscate.js obfuscates the whole page or parts of it
- Take a screenshot
- Post to a public forum, blog or other media
I hacked it together in a day for my own purposes.
Obfuscate.js can walk through the whole page (<body>) or arbitary page bits chosen by CSS selectors.
Open the page with sensitive information in your web browser.
In this point you have the orignal page still with sensitive information
After this you can obfuscate a part of a page by writing the command in the console targeting a specific CSS selector:
obfuscate("#waffle-grid-container"); // Obfuscate contents of Google Spreadsheet
Or simply obfuscate all text the whole page:
obfuscate(); // Obfuscate all the text on the page