Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> prawy klawisz :/
Edd_s
post
Post #1





Grupa: Zarejestrowani
Postów: 54
Pomógł: 0
Dołączył: 5.04.2005

Ostrzeżenie: (0%)
-----


  1. <script language=JavaScript>
  2. <!--
  3. var message="Nie możesz kopiować tej strony ;]";
  4. ///////////////////////////////////
  5. function clickIE() {if (document.all) {alert(message);return false;}}
  6. function clickNS(e) {if
  7. (document.layers||(document.getElementById&&!document.all)) {
  8. if (e.which==2||e.which==3) {alert(message);return false;}}}
  9. if (document.layers)
  10. {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
  11. else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
  12. // -->
  13. </script>

jak widać jest to kolejny skrypt blokujący prawy klawisz, ten i inne spoko działają w IE ale w Mozilli i tak mi wyskauje najpierw komunikat a późńiej menu albo komunikat i menu, jak zrobić żęby i w Mozilli było ok?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
orson
post
Post #2





Grupa: Zarejestrowani
Postów: 548
Pomógł: 2
Dołączył: 19.07.2003

Ostrzeżenie: (0%)
-----


witam ...

osobiście uważam że sama idea blokowania sciągania obrazków jest bezcelowa ... jeżeli udostępniasz jakiś obrazek w internecie, na nie płatnej stronie [jeżeli na płatnej to poprostu wiesz to ale dostajesz kase od każdego odwiedzającego wieć jest looz] to znaczy że jesteś świadomy tego że może on zostać skopiowany i wykorzystany przez innych ... i tyle ... rozsądnym wyjściem jest zastosowanie znaku wodnego:
Cytat
This is copied from the 'help' files in Photoshop 5.5: "You can add copyright information to Photoshop images and notify users that an image is copyright-protected via a digital watermark that uses Digimarc PictureMarc technology. The watermark -a digital code added as noise to the image- is generally imperceptible to the human eye. The watermark is durable in both digital and printed forms, surviving typical image edits and file format conversions-and is still detectable when the image is printed and then scanned back into a computer. Embedding a digital watermark in an image lets viewers obtain complete contact information about the creator of the image. This feature is particularly valuable to image creators who license their work to others. Copying an image with an embedded watermark also copies the watermark and any information associated with it. For more detailed information on embedding Digimarc watermarks, refer to the Digimarc Watermarking Guide, downloadable for free from the Digimarc Web site."


pozdrawiam
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 8.12.2025 - 02:03