ninjasmosa / He-She-to-They

Userscript to turn any instance of "He/She" on a web page to "They"

Home Page:https://ninjasmosa.com/projects/he-shetothey/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"He/She" to "They"

Userscript to turn any instance of "He/She" on a web page to "They"

What does it do?

This script replaces any instance on a web page of "He/She" or "He or She" to "They". The code can recognise instances of "he or she is" and replace them with "they are" to maintain grammatical correctness. Other contextual differences can be recognised and replaced accordingly.

How do I use this?

You will need a userscript manager. I recommend Tampermonkey.

Once you have Tampermonkey installed, follow the images below to install the script.

1.

Screenshot 2022-08-13 003119

2.

Screenshot 2022-08-13 003217

3.

Screenshot 2022-08-13 003341

The extension in action

(Note that this is a debug video and may not accurately represent real-world usage)

untitled.mp4

This extension is unfinished

There may be rough edges and instances where this extension many not work. If that this is the case, either create an issue or submit a pull request with edited code.

Known issues

The script doesn't function correctly at all if a string in the body contains any capitalisation

About

Userscript to turn any instance of "He/She" on a web page to "They"

https://ninjasmosa.com/projects/he-shetothey/

License:MIT License


Languages

Language:JavaScript 100.0%