GenerateWP - Unlock Unallowed Modules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
sharmanhall
日安装量
1
总安装量
4
评分
0 0 0
版本
1.0
创建于
2024-03-14
更新于
2024-03-14
大小
1.1 KB
许可证
MIT
适用于

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.