GenerateWP - Unlock Unallowed Modules

Replace "section-unallowed" with "section-allowed" on GenerateWP pages.

Autor
sharmanhall
Dnevne instalacije
0
Ukupno instalacija
0
Ocene
0 0 0
Verzija
1.0
Napravljeno
14/03/2024
Ažurirano
14/03/2024
Licenca
MIT
Važi za

GenerateWP - Unlock Unallowed Modules

This Tampermonkey script automatically replaces all instances of the class "section-unallowed" with "section-allowed" on GenerateWP pages. This is particularly useful for webpages that dynamically load content (e.g., via AJAX), as the script continually monitors the page for changes and applies the replacement as needed.

Features

  • Automatic Replacement: Automatically replaces "section-unallowed" with "section-allowed" without any user intervention.
  • Dynamic Content Support: Utilizes MutationObserver to support webpages that load content dynamically, ensuring that all elements, regardless of when they are added to the DOM, have their class names replaced appropriately.

Usage

  1. Install Tampermonkey: Ensure that Tampermonkey is installed in your browser. If not, you can download and install it from https://www.tampermonkey.net/.
  2. Add Script: Click on the Tampermonkey icon in your browser, then select "Create a new script..."
  3. Copy and Paste Script: Replace the template with the script provided below. Make sure to replace YourName in the @author field with your actual name or username.
  4. Save: Save the script by pressing Ctrl + S or by selecting File > Save in the Tampermonkey editor.
  5. Visit GenerateWP: Navigate to https://generatewp.com/ and observe the script in action. The specified class names should be replaced accordingly.