TrendForum.Net

TrendForum.Net (https://www.trendforum.net/)
-   SMF (https://www.trendforum.net/smf/)
-   -   Ziyaretçilere Sağ Tık Engelleme (https://www.trendforum.net/smf/7751-ziyaretcilere-sag-tik-engelleme.html)

Kerem 22 Eylül 2022 00:04

Ziyaretçilere Sağ Tık Engelleme
 
SMF forumlarda ziyaretçilerin konularınızı kopyalamasını engellemek maksadıyla aşağıdaki değişiklileri uygulayabilirsiniz.
[Only registered and activated users can see links. Click Here To Register...]
temanızın index.template.php dosyasında

Bulun
Kod:

</head>
<body>';

Altına Ekleyin
Kod:

if ($context['user']['is_guest'])
        echo '
        <script language=JavaScript>
        <!--
        var message="Emege Saygi. Lütfen Üye Olunuz !";

        ///////////////////////////////////
        function clickIE4(){
        if (event.button==2){
        alert(message);
        return false;
        }
        }

        function clickNS4(e){
        if (document.layers||document.getElementById&&!document.all){
        if (e.which==2||e.which==3){
        alert(message);
        return false;
        }
        }
        }

        if (document.layers){
        document.captureEvents(Event.MOUSEDOWN);
        document.onmousedown=clickNS4;
        }
        else if (document.all&&!document.getElementById){
        document.onmousedown=clickIE4;
        }

        document.oncontextmenu=new Function("alert(message);return false")

        // -->
        </script>
        <script type="text/javascript">

        //form tags to omit in NS6+:
        var omitformtags=["input", "textarea", "select"]

        omitformtags=omitformtags.join("|")

        function disableselect(e){
        if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
        return false
        }

        function reEnable(){
        return true
        }

        if (typeof document.onselectstart!="undefined")
        document.onselectstart=new Function ("return false")
        else{
        document.onmousedown=disableselect
        document.onmouseup=reEnable
        }

        </script>';


Beatrice 25 Eylül 2022 08:07

Yanıt: Ziyaretçilere Sağ Tık Engelleme
 
Teşekkür ederiz @Kerem eline sağlık

Kerem 27 Eylül 2022 12:12

Yanıt: Ziyaretçilere Sağ Tık Engelleme
 
Ben teşekkür ederim. :bayil:

scope 27 Eylül 2022 12:13

Yanıt: Ziyaretçilere Sağ Tık Engelleme
 
engellemeyin

Regex 27 Eylül 2022 12:15

Yanıt: Ziyaretçilere Sağ Tık Engelleme
 
Alıntı:

scope kullanıcısının gönderdiği mesajdan alıntı (Mesaj 28516)
engellemeyin

Engellemezsek çalıyolla.

scope 27 Eylül 2022 12:21

Yanıt: Ziyaretçilere Sağ Tık Engelleme
 
calsinlar

Regex 27 Eylül 2022 12:24

Yanıt: Ziyaretçilere Sağ Tık Engelleme
 
Çaldırtmayız.

scope 27 Eylül 2022 12:24

Yanıt: Ziyaretçilere Sağ Tık Engelleme
 
caldirtin

Regex 27 Eylül 2022 12:30

Yanıt: Ziyaretçilere Sağ Tık Engelleme
 
Olmaz. Suça aracılık etmek de suç. Hatta suçu bildirmemek diye bir suç bile var.

scope 27 Eylül 2022 12:34

Yanıt: Ziyaretçilere Sağ Tık Engelleme
 
sssshh al sen su 3 Euroyu sessiz kal


Forum saati; Türkiye'ye göre ayarlanmış olup, şu an saat: 18:43.

Powered by vBulletin® Version 3.8.7   Copyright ©2000 - 2024, vBulletin Solutions, Inc.