protection JS
This commit is contained in:
parent
950827ce80
commit
ea89b49f08
1 changed files with 19 additions and 0 deletions
19
header.php
19
header.php
|
@ -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('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="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" />
|
<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>
|
</head>
|
||||||
|
|
||||||
<body id="top" class="page mode-<?php $plxShow->mode(true) ?>">
|
<body id="top" class="page mode-<?php $plxShow->mode(true) ?>">
|
||||||
|
|
Loading…
Reference in a new issue