Created
November 1, 2018 10:01
-
-
Save apnerve/3724e6e40b30b4f62cedd14522236f1a to your computer and use it in GitHub Desktop.
A simple bookmarklet to convert any website to a whiteframe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function() {[].slice.apply(document.all).forEach(e => { e.style.color = 'black'; e.style.background = 'none'; e.style.borderColor = 'black';e.style.boxShadow = 'none'} );[].slice.apply(document.querySelectorAll('img')).forEach(i => {i.style.backgroundColor='lightgray';i.width = i.width; i.height = i.height;i.alt='';i.style.filter='none';i.style.border='none';i.src='data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'})})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment