User:Eejit43/scripts/highlight-homographs
Appearance
< User:Eejit43 | scripts
highlight-homographs | |
---|---|
Description | User script that highlights homographs in page titles |
Author(s) | Eejit43 |
First released | May 9, 2023 |
Updated | June 15, 2023GitHub commit history) | (see
Browsers | Tested on Chromium |
Skins |
|
Source | User:Eejit43/scripts/highlight-homographs.js |
GitHub repository | highlight-homographs.ts |
This user script adds a red background to homograph characters in page titles, which may be used to bypass create protection. While entirely rewritten, this script uses regex from Þjarkur's script.
Installation
Simple
Install Enterprisey's "script-installer" (at Preferences → Gadgets → Advanced → Install scripts without having to manually edit JavaScript files (documentation)), then come back to this page and click the "Install" button in the infobox on the right.
Manual
Add the following to your common.js (or a skin specific JavaScript page):
{{subst:install user script|User:Eejit43/scripts/highlight-homographs.js}}
Comments/bug reports
Please leave comments or report bugs on my talk page, or file an issue on the GitHub repository.