You are here

function copyprevention_help in Copy Prevention 8

Implements hook_help().

File

./copyprevention.module, line 13
Main file for Copy Prevention module.

Code

function copyprevention_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.copyprevention':
      $output = '<p>' . t('This module includes several different technical ways/methods to make
copying/stealing information/images from your site harder than it usually is
Disable text selection
Disable copy to clipboard
Disable right-click context menu on all site content
Disable right-click context menu only on images (<img> tag)
Place transparent image above all your images - this will protect your real
images from being saved using context menu or drag-and-drop to desktop.
Protect/hide your images from search engine indexes so that your images don\'t
show up in image searches - add "noimageindex" robots tag and disallow image
files indexing in robots.txt') . '</p>';
      return $output;
  }
}