From e89f0c577e1c180defbf4dd5e85814c3a9b86335 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Wed, 5 Jun 2024 13:45:26 -0300 Subject: [PATCH] Initial commit --- toupper.js | 7 +++++++ toupper.min.js | 1 + uppercase.html | 5 +++++ 3 files changed, 13 insertions(+) create mode 100644 toupper.js create mode 100644 toupper.min.js create mode 100644 uppercase.html diff --git a/toupper.js b/toupper.js new file mode 100644 index 0000000..2a789d9 --- /dev/null +++ b/toupper.js @@ -0,0 +1,7 @@ +javascript:(() => { + document.querySelectorAll('input[type="text"]').forEach((input) => { + if (input.readOnly) return; + if (input.id.toLowerCase().includes('Remarks')) return; + input.value = input.value.toUpperCase(); + }); +})(); \ No newline at end of file diff --git a/toupper.min.js b/toupper.min.js new file mode 100644 index 0000000..8cbdd5b --- /dev/null +++ b/toupper.min.js @@ -0,0 +1 @@ +javascript:(()=>{document.querySelectorAll('input[type="text"]').forEach((input)=>{if(input.readOnly)return;if(input.id.toLowerCase().includes('Remarks'))return;input.value=input.value.toUpperCase()})})() \ No newline at end of file diff --git a/uppercase.html b/uppercase.html new file mode 100644 index 0000000..c7c69a2 --- /dev/null +++ b/uppercase.html @@ -0,0 +1,5 @@ + + +

Drag this link onto your bookmarks bar:

+ Uppercase + \ No newline at end of file