Greasy Fork is available in English.

Drawaria Enhanced Ratedrawerbox

Mantiene el elemento #ratedrawerbox siempre visible, activo y clickeable, incluso si estás prohibido de dibujar, y permite su reutilización

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
YouTubeDrawaria
Dziennych instalacji
0
Wszystkich instalacji
12
Oceny
0 0 0
Wersja
2024-12-28
Utworzono
28-12-2024
Zaktualizowano
28-12-2024
Rozmiar
2,91 KB
Licencja
MIT
Dotyczy

This script ensures that the `#ratedrawerbox` element on the Drawaria website remains **always visible, active, and clickable**, even if the user is prohibited from drawing. It also allows the `ratedrawerbox` to be reused. Here’s a brief breakdown of its functionality:

1. **Visibility and Activity**:
- The script ensures the `#ratedrawerbox` is always displayed (`display: block`), visible (`visibility: visible`), and interactive (`pointer-events: auto`).

2. **Button Interception**:
- It intercepts the `.ratedrawerbox-button` click event to force the use of the `ratedrawerbox` functionality, even if the user is restricted from drawing.
- After triggering the `ratedrawerbox`, it resets its state to ensure it remains usable.

3. **DOM Monitoring**:
- A `MutationObserver` monitors the DOM for changes to ensure the `ratedrawerbox` stays visible and active.
- An interval is also set to periodically check and maintain the `ratedrawerbox` functionality.

### Purpose:
This script is designed to **bypass restrictions** on the `ratedrawerbox` element, ensuring users can always interact with it, regardless of their drawing permissions. It’s useful for maintaining access to rating or drawing-related features on the site.