Skip to content

armstrongb/design-mode-bookmarklet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

designMode Bookmarklet

A handy bookmarklet toggle for designMode in a modern browser.

// Original code via stackoverflow user srbrussell.

Bookmarklet

javascript:(function(){if(document.documentElement.contentEditable===false||document.designMode==="off"){document.body.contentEditable='true';document.designMode='o‌​n';void 0;}else if(document.documentElement.contentEditable===true||document.designMode==="on"){document.body.contentEditable='false';document.designMode='‌​off';void 0;}})();

About

Bookmarklet toggle for designMode in a modern browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published