Accented Character Input

Add functionality to input accented characters for non accented keyboards when the current input focus is on a text input element, or a content-editable element.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
jcunews
일일 설치수
0
총 설치수
8
평점
1 0 0
버전
1.0.6
생성
2018-06-06
갱신
2024-02-17
라이선스
GNU AGPLv3
동작 사이트
모든 사이트

Note: accented character input will not work on a content-editable element when there's a selection which spans across other element).

Accented character can be inputted by holding the ALT key then pressing the desired character (e.g. ALT+a for à, or ALT+SHIFT+A for À).

Whether capital or non capital letter is used depends on the current state of the CapsLock key and whether the SHIFT key is also held down or not.

While the ALT key is still being held, pressing the same character again will change the generated character to the next available accented character (e.g. ALT+e then e then e will generate the ê character).

If a diffrent character is pressed while the ALT key is held down, the accented character of the new character will be generated (e.g. ALT+a then e will generate àè).

The typed characters and their available accented characters are configurable in the charMap variable within the script.