Discourse Provent Protects is a theme component designed to prevent text selection and right-click actions on Discourse forums.
For detailed instructions, see How do I install a Theme or Theme Component?.
Or manual install this theme component, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/MHAT-DEV/discourse-provent-protects.git
- Upload the theme component to your Discourse instance:
- Navigate to Admin > Customize > Themes.
- Click on Install.
- Select From your device, and choose the ZIP file containing the theme component.
- Enable and configure the theme component:
- After installation, enable the theme component by clicking on Add to active themes.
- Customize the behavior by adjusting settings in Admin > Customize > Themes > Discourse Provent Protects.
- Prevents text selection across all forum pages.
- Disables right-click actions to protect content.
- Alertbox for Right-Click
The following settings can be configured via the Discourse admin panel:
- Prevent Text Selection: Enable to prevent users from selecting text.
- Prevent Right Click: Enable to disable right-click actions.
Found a bug or want to suggest a feature? Contributions are welcome! Please open an issue or submit a pull request.
This theme component is licensed under the MIT License.
For more information on using Discourse themes and components, refer to the Beginner's Guide to Using Discourse Themes.