protection JS

This commit is contained in:
n 2018-03-13 09:56:27 +01:00
parent 950827ce80
commit ea89b49f08

View file

@ -16,6 +16,25 @@
<link rel="alternate" type="application/rss+xml" title="<?php $plxShow->lang('ARTICLES_RSS_FEEDS') ?>" href="<?php $plxShow->urlRewrite('feed.php?rss') ?>" />
<link rel="alternate" type="application/rss+xml" title="<?php $plxShow->lang('COMMENTS_RSS_FEEDS') ?>" href="<?php $plxShow->urlRewrite('feed.php?rss/commentaires') ?>" />
<link rel="shortcut icon" href="<?php $plxShow->template() ?>/favicon.ico" />
<!-- DEBUT CLIC DROIT INTERDIT -->
<script type="text/javascript" language="JavaScript">
<!--
// http://www.jejavascript.net/
function noclic(clic) {
var mess="Copie interdite - Copyright © Michel VERAY"; //changer le message
if (navigator.appName == 'Netscape' && clic.which==3) {
alert(mess);
}
else
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
alert(mess);
}}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown = noclic;
//--></script>
<!-- FIN CLIC DROIT INTERDIT -->
</head>
<body id="top" class="page mode-<?php $plxShow->mode(true) ?>">