72 users online (1 members and 71 guests)  


  Results 1 to 6 of 6

Related

  1. Disable the Save Function    Forum: HTML Forum
    Replies: 3
  2. How to disable buttons in HTML?    Forum: Website Scripts Forum
    Replies: 4
  3. How do I disable right-click?    Forum: Website Scripts Forum
    Replies: 9
  4. Long sales copy versus short sales copy.    Forum: Website Promotion Forum
    Replies: 1
  1. #1
    amd_uae's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2007
    Location
    Jeddah-KSA
    Posts
    4

    Exclamation Help in disable copy & print

    How can disable right click ''mouse'' and print , save as from file menu and copy from edite menu and print screen from keyboard in my website by using JavaScript ....
    (no one can copy or print or save my image in my page or my pages)
    please help me as soon as!

  2. #2
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: Help in disable copy & print

    Can't help you with that, although it can be done.
    One thought - have you tried using a stylesheet with a media=print setting, and all elements set to visibility: none;?
    Remeber - nothing can stop users simply taking a screen grab and priniting that off, anything you do can only make things more awkward for the casual printer.

  3. #3
    vinyl-junkie's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    721

    Re: Help in disable copy & print

    There are plenty of "no right click" javascripts to choose from. Just search Google. However, using that will only annoy your visitors. Nothing else will disable their keyboard in such a way as to prevent them from copying anything on your site. The advice from here remains the same as elsewhere: If you don't want someone copying your web page, don't put it on the web.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more

  4. #4
    amd_uae's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2007
    Location
    Jeddah-KSA
    Posts
    4

    Re: Help in disable copy & print

    ok , the main thing is images. I want protect them from download , copy, that's what i want in my web to be disabled.

    by java script

  5. #5
    amd_uae's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2007
    Location
    Jeddah-KSA
    Posts
    4

    Lightbulb Re: Help in disable copy & print

    i search and found this but i didnt know how to use it??

    <font color="#000000" style="font-size: 2px;">##########################################################################<br>#################################################################################################<br>###############...

  6. #6
    amd_uae's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2007
    Location
    Jeddah-KSA
    Posts
    4

    Lightbulb Re: Help in disable copy & print

    and the other:
    1) Screen snapshot to printer:
    void prtsc_allow(int allow) /* 0=disable, nonzero=enable */
    {
    unsigned char far* flag = (unsigned char far*)0x00400100UL;
    *flag = (unsigned char)!allow;
    }
    2) Continuous echo of screen to printer:
    <27>[0;114;"Ctrl-PrtSc disabled"p
    <27>[16;"^P"p



Tags for this Thread