Siteye İE ile girişi engellemek - Google Fan Webmaster Forum
Google Fan Webmaster Forum  
herşeyi sana yazdım

Geri git   Google Fan Webmaster Forum > Webmaster Genel > Webmaster Genel konular sorunlar
KEY
Kayıt ol Articles Sosyal Gruplar Forumları Okundu Kabul Et

Webmaster Genel konular sorunlar Webmaster genel konular sorular sorunlar

Cevapla
 
LinkBack Seçenekler
  1  
Alt 08-02-2011, 16:27:55
 
Exclamation Siteye İE ile girişi engellemek

Kişisel bir blog sitem var ve internet explorer'dan nefret ediyorum.Siteye ne olursa olsun İE'den girişi engellemek istiyorum.İE ile girmeye çalışanların karşısına hazırladığım bir index'in çıkmasını istiyorum.Biraz araştırdım bi kaç şey denedim ama hiç sonuç alamadım
Alıntı ile Cevapla
  2  
Alt 08-02-2011, 16:30:22
 
Standart

Kod:
<!--[if lt IE 6]>
<div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative;'>
<divstyle='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'>
<a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'>
<img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='Bildirimi Kapat'/>
</a>
</div>
<div style='width: 640px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'>
<div style='width: 75px; float: left;'>
<img src='http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg' alt='Warning!'/>
</div>
<div style='width: 275px; float: left; font-family: Arial, sans-serif;'>
<div style='font-size: 14px; font-weight: bold; margin-top: 12px;'>Tarayiciniz guncel degil!</div>
<div style='font-size: 12px; margin-top: 6px; line-height: 12px;'>Sitemizde kullanilan bazi yazilim teknolojileri kullandiginiz tarayici surumu ile uyumlu degil.</div>
</div>
<div style='width: 75px; float: left;'><a href='http://www.google.com/chrome' target='_blank' rel="nofollow">
<img src='http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg' style='border: none;' alt='Google Chrome indir'/>
</a>
</div>
<div style='width: 75px; float: left;'>
<a href='http://www.firefox.com' target='_blank' rel="nofollow">
<img src='http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg' style='border: none;' alt='Firefox 3.6 indir'/>
</a>
</div>
<div style='width: 75px; float: left;'><a href='http://www.apple.com/safari/download/' target='_blank' rel="nofollow">
<img src='http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg' style='border: none;' alt='Safari 4 indir'/>
</a>
</div>
</div>
</div>
<div class="pix10">
</div>
<![endif]-->
ben böyle bişi kullanıyorum ama umarım işine yarar

Konu DesignMusty tarafından (08-02-2011 Saat 16:40:14 ) değiştirilmiştir..
Alıntı ile Cevapla
  3  
Alt 08-02-2011, 16:32:47
 
Standart

Bu kod nereye eklenecek ?
Alıntı ile Cevapla
  4  
Alt 08-02-2011, 16:34:23
 
Standart

örnek:

<head> kodunu bulalım ve hemen altına


EDİT:
bu işlem yasaklamaz sadece uyarı verir İE6 dan girenlere..

PHP- Kodu:
<!--[if lt IE 6]> <div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative;'> <div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'><a href="#" mce_href="#" onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'><img src="http://i50.tinypic.com/qwwqoz.jpg" mce_src="http://i50.tinypic.com/qwwqoz.jpg" style="border: none;" mce_style="border: none;" alt='Uyarıyı Kapat' /></a></div> <div style='width: 640px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'> <div style='width: 60px; float: left;'><img src="http://i47.tinypic.com/4jrztv.jpg" mce_src="http://i47.tinypic.com/4jrztv.jpg" alt='Uyarı!' /></div> <div style='width: 320px; float: left; font-family: Arial, sans-serif;'> <div style="font-size: 14px; font-weight: bold; margin-top: 12px;" mce_style="font-size: 14px; font-weight: bold; margin-top: 12px;">Çok dandik bir tarayıcı kullanıyorsunuz!</div> <div style="font-size: 12px; margin-top: 6px; line-height: 12px;" mce_style="font-size: 12px; margin-top: 6px; line-height: 12px;">OopsMalesef miladı dolmuş olan bir tarayıcı kullanıyorsunuz.Daha iyi bir deneyim için lütfen web tarayıcınızı güncel bir sürüme yükseltiniz.</div> </div> <div style='width: 65px; float: left;'><a rel="nofollow" href="http://download.microsoft.com/download/C/B/7/CB7C2809-EB9C-4640-90CE-8E98E641BA64/IE8-WindowsXP-x86-TRK.exe" mce_href="http://download.microsoft.com/download/C/B/7/CB7C2809-EB9C-4640-90CE-8E98E641BA64/IE8-WindowsXP-x86-TRK.exe" target='_blank'><img src="http://i49.tinypic.com/1zlag47.jpg" mce_src="http://i49.tinypic.com/1zlag47.jpg" style="border: none;" mce_style="border: none;" alt="Internet Explorer 8 Yükleyin" /></a></div> <div style='width: 65px; float: left;'><a rel="nofollow" href="http://www.mozilla-europe.org/tr/firefox/" mce_href="http://www.mozilla-europe.org/tr/firefox/" target='_blank'><img src="http://i48.tinypic.com/2hicabr.png" mce_src="http://i48.tinypic.com/2hicabr.png" style="border: none;" mce_style="border: none;" alt='Firefox 3.6 Yükleyin' /></a></div> <div style="float: left;" mce_style="float: left;"><a rel="nofollow" href="http://www.google.com/chrome" mce_href="http://www.google.com/chrome" target='_blank'><img src="http://i46.tinypic.com/208ff61.jpg" mce_src="http://i46.tinypic.com/208ff61.jpg" style="border: none;" mce_style="border: none;" alt='Google Chrome Yükleyin' /></a></div> </div> </div> <![endif]--> 

Konu DesignMusty tarafından (08-02-2011 Saat 16:40:26 ) değiştirilmiştir..
Alıntı ile Cevapla
  5  
Alt 08-02-2011, 16:38:54
 
Standart

Wordpress kullanıyorum <head> kodunu bulamadım
Alıntı ile Cevapla
  6  
Alt 08-02-2011, 16:39:09
 
Standart

çok hit kaybedersin.Özellikle Türkiye'de ie kullanan çok fazla
__________________
BeşiktAŞK
Alıntı ile Cevapla
  7  
Alt 08-02-2011, 16:41:00
 
Standart

Alıntı:
sahadantv Nickli Üyeden Alıntı Mesajı göster
çok hit kaybedersin.Özellikle Türkiye'de ie kullanan çok fazla
Hit peşinde değilim hocam site zaten kişisel blog.
Alıntı ile Cevapla
  8  
Alt 08-02-2011, 16:41:24
 
Standart

Alıntı:
Jubalam Nickli Üyeden Alıntı Mesajı göster
Wordpress kullanıyorum <head> kodunu bulamadım
wp-contents/themes/TEMANIZIN ADI/header.php

burdan bulabilirsin
Alıntı ile Cevapla
Cevapla


Bookmarks

Seçenekler

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Kapalı
Pingbacks are Kapalı
Refbacks are Açık



Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 19:36:55.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

“İnsanların en hayırlısı, insanlara faydalı olandır”. H.Ş

Hosting by Radore Hosting

İçerik sağlayacı paylaşım sitelerinden biri olan R10.net WebMaster Forum Adresimizde 5651 Sayılı Kanun’un 8. Maddesine ve T.C.K’nın 125. Maddesine göre TÜM ÜYELERİMİZ yaptıkları paylaşımlardan sorumludur. R10.net hakkında yapılacak tüm hukuksal Şikayetler adresi ile iletişime geçilmesi halinde ilgili kanunlar ve yönetmelikler çerçevesinde en geç 1 (Bir) Hafta içerisinde R10.net yönetimi olarak tarafımızdan gereken işlemler yapılacak ve Avukatlarımız size dönüş yapacaktır.
ARGUS_OK

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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252