你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/512262-rainbow-drawaria-colors,源站連結 點此以跳轉

Rainbow Drawaria Colors

The best rainbow mode for drawaria !



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/512262/Rainbow%20Drawaria%20Colors.user.js

安装此脚本?
作者
YouTubeDrawaria
日安装量
0
总安装量
3
评分
0 0 0
版本
2024-10-11
创建于
2024-10-11
更新于
2024-10-11
大小
1.2 KB
许可证
MIT
适用于

### English

This script is a Tampermonkey user script designed to change the colors of the webpage and its elements every second, creating a rainbow effect. Here's a breakdown of what it does:

1. **Random Color Generation**: The `getRandomColor` function generates a random RGB color.
2. **Color Change Function**: The `changeColors` function selects all elements on the webpage and changes their background and text colors to random colors.
3. **Interval Setup**: The `setInterval` function is used to call the `changeColors` function every 3000 milliseconds (3 seconds), causing the colors to change continuously.

### Español

Este script es un script de usuario de Tampermonkey diseñado para cambiar los colores de la página web y sus elementos cada segundo, creando un efecto arcoíris. Aquí hay un desglose de lo que hace:

1. **Generación de Color Aleatorio**: La función `getRandomColor` genera un color RGB aleatorio.
2. **Función de Cambio de Colores**: La función `changeColors` selecciona todos los elementos de la página web y cambia sus colores de fondo y texto a colores aleatorios.
3. **Configuración de Intervalo**: La función `setInterval` se utiliza para llamar a la función `changeColors` cada 3000 milisegundos (3 segundos), haciendo que los colores cambien continuamente.

### Русский

Этот скрипт — пользовательский скрипт для Tampermonkey, предназначенный для изменения цветов веб-страницы и её элементов каждую секунду, создавая эффект радуги. Вот разбивка того, что он делает:

1. **Генерация Случайного Цвета**: Функция `getRandomColor` генерирует случайный цвет в формате RGB.
2. **Функция Изменения Цветов**: Функция `changeColors` выбирает все элементы на веб-странице и меняет их цвета фона и текста на случайные цвета.
3. **Настройка Интервала**: Функция `setInterval` используется для вызова функции `changeColors` каждые 3000 миллисекунд (3 секунды), вызывая непрерывное изменение цветов.