Created
February 6, 2020 18:56
-
-
Save erik4github/a48ba85b0127636f6e106fa2f5731f77 to your computer and use it in GitHub Desktop.
Bookmarklet - Convert Selected Text To Lowercase
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(window){ | |
var selection = window.getSelection(); | |
selection.baseNode.parentElement.innerText = selection.baseNode.textContent.toLowerCase(); | |
})(window); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment