Skip to content

Discourse Provent Protects is a theme component designed to prevent text selection and right-click actions on Discourse forums.

License

Notifications You must be signed in to change notification settings

MHAT-DEV/Discourse-Prevent-Protects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discourse Provent Protects

Discourse Provent Protects is a theme component designed to prevent text selection and right-click actions on Discourse forums.

Installation

For detailed instructions, see How do I install a Theme or Theme Component?.

Or manual install this theme component, follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/MHAT-DEV/discourse-provent-protects.git
  1. 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.
  1. 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.

Features

  • Prevents text selection across all forum pages.
  • Disables right-click actions to protect content.
  • Alertbox for Right-Click

Settings

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.

Contributing

Found a bug or want to suggest a feature? Contributions are welcome! Please open an issue or submit a pull request.

License

This theme component is licensed under the MIT License.

Learn More

For more information on using Discourse themes and components, refer to the Beginner's Guide to Using Discourse Themes.

About

Discourse Provent Protects is a theme component designed to prevent text selection and right-click actions on Discourse forums.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published