-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a750993
commit 7dd8e14
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// ==UserScript== | ||
// @name "He/She" to "They" | ||
// @namespace https://ninjasmosa.com | ||
// @version 0.1 | ||
// @description Turns any string that says "he/she" into "they". For the sake of gender inlcusivity. | ||
// @author ninjasmosa | ||
// @match *://*/* | ||
// @grant none | ||
// ==/UserScript== | ||
|
||
(function() { | ||
'use strict'; | ||
|
||
// Your code here... | ||
document.body.innerHTML = document.body.innerHTML.replace(/he or she is/g, 'they are'); | ||
document.body.innerHTML = document.body.innerHTML.replace(/he\/she is/g, 'they are'); | ||
document.body.innerHTML = document.body.innerHTML.replace(/his or her/g, 'their'); | ||
document.body.innerHTML = document.body.innerHTML.replace(/his\/her/g, 'their'); | ||
document.body.innerHTML = document.body.innerHTML.replace(/he or she/g, 'they'); | ||
document.body.innerHTML = document.body.innerHTML.replace(/he\/she/g, 'they'); | ||
})(); |