Trump Renamer

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
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
];
```