Toggle editability with one click

Make a bookmark, put this in the URL (the name can be anything):
javascript:var contenteditable;if(contenteditable){contenteditable=false;document.body.setAttribute("contenteditable","false");}else{contenteditable=true;document.body.setAttribute("contenteditable","true");}
And then go to any webpage and click on the bookmark. The entire webpage will become contenteditable which allows you to type on the page like, I dunno, Google Docs? And clicking it again will turn off the contenteditable and make it look like you just used inspect element and impress no one.

Have fun using Google on YouTube!

Comments

Popular posts from this blog