Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: body oncontextmenu="return true"

  1. #1
    Join Date
    Feb 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default body oncontextmenu="return true"

    i have used this function and i want to make right click active in a <textarea>
    how can i do that? plz help me. i have searched on google for 2 days and noting... (
    or.. if thic can`t be done... how can i make a button witch will automatily select a text and copy it when pressed ?
    to be more precisely at http://www.nautilus.lx.ro/index_en.p...link2us_en.php i want to make that button of if not possible with the button, to activate right click just in the middle (whare are the codes)

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Neither is possible.
    Remove your "disable right click" script -- they're utterly useless and only cause problems.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Feb 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    but.. how can I hide my source ? i heard about a java script witch dose this but i can`t find it

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    but.. how can I hide my source ?
    Now, why would you want to do a daft thing like that? Firstly, it's not as if you're actually hiding it, simply making it slightly more difficult to see: any competent user can still view it. Secondly, what little you can do to make it less visible always comes at a price, usually compatibility. There do exist several scripts to "hide" your source. None are infallible, and they all mean that your page can't even be viewed in a browser without Javascript. Thirdly, "hiding" your source code is a decidedly antisocial thing to do; the Web is so popular because people can examine and learn from the way pages work. The Web is meant for sharing information, and its whole nature and structure revolves around this. If you want to keep it a secret, don't put it on the Web.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Feb 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    yes, you are right. but... how can i protect against those who just do "save page as" and the the put it on the net pretending is theyr page ??

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Firstly, make sure you have a copyright statement on your page.
    Then, you have several options:
    1) Ask them politely to stop.
    2) Inform their host of the problem.
    3) Sue them.

    Another good idea is to watermark your images so as to leave no doubt as to by whom they are owned.
    I should also point out that, despite having done several websites, this has never happened to me. Simply put, why would anyone want to?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Feb 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i`ve meat with this problem... and i announced the host (lx.ro) and they had deleted that coppy of my site... bunt lx.ro is the only host witch i am understanding ok... if that person will put the site on another host? i can`t do anything...
    what is "watermark" -> me romanian and i don`t understant this work so well.... is something like: http://news.softpedia.com/news/IBM-S...it-18513.shtml ?

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Ha, no. See this.
    i`ve meat with this problem...
    To be honest with you, I don't see why. It's all the same information; why would anyone just copy it like that? Totally useless.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  9. #9
    Join Date
    Feb 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hmmm... i read that about watermarking but i can`t do that on 1000 images.. and.. the content of the site is still easy to copy... or... to protect just the "template" (i`m saying "template" under " " because is not a template and my english is limited ) not all the content (wallpapers, flash games etc etc)

  10. #10
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Just do it on a few, and very faintly -- just so that, if anyone doubts who produced the site first, you'll be able to prove it was you.
    And whatever happens, it's no easier to copy than it was with your no-right-click script on it
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •