Last active
August 29, 2015 14:06
-
-
Save micjamking/5e0f72c13b7212943936 to your computer and use it in GitHub Desktop.
[HTML] Disable printing of images & right-click behavior
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<!-- Disable print & right-click behavior --> | |
<style type="text/css" media="print"> img { display: none; } </style> | |
<script> document.oncontextmenu = new Function('return false'); </script> | |
</head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment