1.0.4 • Published 5 years ago
@bonnier-publications/prevent-img-rightclick v1.0.4
Prevent Image Download
This plugin will disable the browsers context menu when right clicking images. A customizable message will be shown instead.
Example usage
const styles = {"padding":"12px", "font-size":"18px"};
const message = "Please do not download our images";
const prevent = new PreventImageDownload(message, styles);
prevent.init();