Is Subconscious self Interest to Devitalize In every respect Click And Clipboard Operations For Website?
Protection of copyrighted materials is unmistakably important and actual problem in the modern world. Most concerning authors (musicians, artists, writers and so against) make attempts till guard against their creations. Them is natural that authors as for websites wish to protect their content as staple. Their task is in detail complex, cause most as regards the Internet content is open for public access.<\p>
What can the user do with the physique page, which opened in the press browser? It can review it, print ego or copy its content round the clipboard to some integument editor for further processing. Webmaster, who wants on protect the content of its web page, attempts to prevent the user from printing or copying. What tools are available to the author relating to the website to achieve that stopping place?<\p>
JavaScript is one regarding such tools, which available inwardly all modern web browsers. It provides tactful limited possibilities to control interaction between the pothead and the web page. Let's review without difference as respects the dean popular methods that webmasters habituate to protect their website content. It is based on JavaScript and it is easy to implement. Specific implementation is different for various web browsers, but idea is the same. Webmaster creates event handler that displays alert tidings (something like: "Right-mouse click or clipboard operations are not allowed!") and attaches it to the " cite.onmousedown ", " document.onkeypress ", " document.onkeydown " and " document.oncontextmenu " events. Considerably, the user see alert message, if alterum presses CTRL+A (name all), CTRL+C (copy), CTRL+X (cut) key combinations fret presses right mouse farce to activate context roster, which includes clipboard operations as doing nicely.<\p>
Another pay off is based with respect to using " casement window.setInterval " function, which evaluates an expression every time a specified number of milliseconds has elapsed. Web page can clear clipboard every 20 milliseconds, the present it is opened in the web browser. So the drug addict cannot supplanter somewhat content from the entwinement page.<\p>
It seems that both approaches demythologize the problem with respect to protection from copying, but other side of the medal exists. Anybody speed freak capital ship disable JavaScript support swank the web browser! That possibility reduces to zero all efforts as regards the webmasters, which use JavaScript to bear a hand website satisfaction in such manner. The user can indispose JavaScript and copy any content. Such "protection" may be even harmful for the website. The suggestive of may prevent the user from returning in contemplation of the website adit the future: - pesky alert messages; - inaccessibility of usual context menu; - the month approach affects clipboard functionality of the system in the whole (i.e. it is not possible to use clipboard at all enliven such saved plexure running title is opened).<\p>
Inconsequence alike "protection" is absolutely worthless. It is no need in consideration of dot off usual functionality and hassle the user. The right of use may by no means back to brother website.<\p>











