1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
| <HTML>
<HEAD>
<script type="text/javascript">
var notFF= "<p align=\"center\" class=\"Droits\">";
notFF+="Ce site est optimisé pour Firefox.";
notFF+="<script type=\"text/javascript\"><!--"
notFF+="google_ad_client = \"pub-xxxxxxxxxxxxxxxx\";";
notFF+="google_ad_output = \"textlink\";";
notFF+="google_ad_format = \"ref_text\";";
notFF+="google_cpa_choice = \"CAAQta32_gEaCJm2dBGGYWulKN224YcBMAA\";";
notFF+="google_ad_channel = \"4129839053\";//-->";
notFF+="<\/script>";
notFF+="<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"><\/script>";
notFF+="<\/p>";
function changeContent()
{
var divContent = document.getElementById("MainContent");
if (navigator.userAgent.indexOf("Firefox")==-1)
{
divContent.innerHTML=notFF;
}
}
</script>
</HEAD>
<BODY onload="changeContent();">
<div ID="MainContent">
<br/>
Contenu du site que l'on veut mettre sous <u><b>FireFox</b></u>
</div>
</BODY>
</HTML> |
Partager