Trump Renamer

Replace every instance of "Trump" in webpage text with a random humorous insult

作者
Turtle Power
日安装量
0
总安装量
2
评分
1 0 0
版本
1.2
创建于
2025-08-02
更新于
2025-08-06
大小
1.9 KB
许可证
MIT
适用于
所有网站

# Trump Renamer

This is a user script that replaces every occurrence of the name "Trump" on a webpage with a randomly selected humorous insult.

## Description

The script is designed to be used with a user script manager like [Tampermonkey](https://www.tampermonkey.net/) or [Greasemonkey](https://www.greasespot.net/). When active, it scans the text content of web pages you visit and replaces all instances of "Trump" (case-insensitive) with one of the insults from its list.

It also monitors the page for dynamically loaded content, so it will continue to work on modern websites that load content asynchronously.

## Features

- Replaces all occurrences of "Trump" on a webpage.
- The replacement is case-insensitive.
- Works on dynamically loaded content.
- The list of replacement insults can be easily customized.

## Installation

1. Make sure you have a user script manager installed in your browser (e.g., [Tampermonkey](https://www.tampermonkey.net/)).
2. Create a new user script in your script manager.
3. Copy the contents of `TrumpRenamer.js` and paste it into the new script.
4. Save the script.

It will now be active on all websites.

## Customization

You can easily change or add to the list of insults by editing the `replacements` array within the `TrumpRenamer.js` script file.

```javascript
const replacements = [
"Onion-eyed flap dragon.",
"Leather-faced piss jar.",
"Mangled apricot hellbeast.",
// Add your own creative insults here
];
```