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

Tekijä
YouTubeDrawaria
Päivittäiset asennukset
0
Asennuskerrat
10
Arvostelut
0 0 0
Versio
2024-12-28
Luotu
28.12.2024
Päivitetty
28.12.2024
Size
2,91 kt
Lisenssi
MIT
Käytössä

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.