voodoocode / pannengeraet-krank-knarrenbauer

🍳 Replaces Abhörgerät Kommt-Kampfhubschrauber by silly names
MIT License
67 stars 7 forks source link

Pannengerät Krank-Knarrenbauer

Browser extension, which replaces Ammenschreck Krebs-Katzenjammer by silly names. Finds the combination of first name and last, or only last name.

It is also possible to enable some other replacements for other persons in the extensions settings page.

🛠 Installation

Firefox (>= 51)

or

Chrome / Opera / Edge (>= 76)

🕰 Version history

✨ v0.4: Options page to toggle replacements and disabling other names

By default this restores the original behavoiur of the extension, only replacing AKK.

It disables the other replacements introduced in the previous version. You are now free to choose which replacements are enabled via the extensions settings page (Extras > Add-ons > Extensions > Choose the extenstion > switch to second tab).

v0.3: Replacement of other people

Other relevant people are being found and replaced with silly names.

I added some logic/randomness wheter a combined name of first-, middle- and lastname is used or a full nickname.

ℹ️ Notice

Use browser extensions at your own risk.

Always reassure that the extension didn't edit any input fields or textareas in the browser, like Github or other sites where frontend editing is possible.

I'm not responsible for possible wrong submitted data or reduced rendering performance.

🔀 Contribution

Feel free to open pull requests with new names or persons.

When adding new persons follow this format of the object:

{
    regexName: /(?:Vorname )?Nachname/gi, // looking for optional firstname, lastname not optional
    regexAbbrev: /VN/gi,
    substitutionsFirst: ["Vorname1"],
    substitutionsMiddle: ["Zwischenname1"],
    substitutionsLast: ["Nachname1"], // for hyphen "-" concatenated, names add those in front of the lastname
    substitutionsComplete: ["Spitzname1"],
  }

Please don't submit stuff, that is out of the borders of satire.

🔨 Development

👍 Credits