Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjasmosa authored Aug 12, 2022
1 parent a750993 commit 7dd8e14
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions He-She to They.user.js
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');
})();

0 comments on commit 7dd8e14

Please sign in to comment.