Skip to Content

How to disable right click on SAP portal login page

Hi,

How to disable right click on SAP portal login page. Our requirement is one should not be able to right click -


>view source. on the portal login page.

Best Regars,

Tushar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2010 at 10:30 AM

    Hi,

    You would need tomodify standard logon .par file and write java script code on portal login page to disable right click.

    Regards,

    Jigar Oza

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 23, 2010 at 10:52 AM

    hi,

    you can disable right clcik by placing javascript code in the login page.use this code in your page

    
    
    
        }
        
    
    

    i checked it, its working fine for me,Place it according to your requirement

    regards

    Mahesh

    Add a comment
    10|10000 characters needed characters exceeded

    • hi chavan,

      its not allowing some javascript tags, . i used the the same concept in login page for disabling the rightclick, use the code in jsp file and call the function when the page loads, enable blocked content by adding your URL to trusted sites then it will not show popups. you can get standard codes from google check them. you need NWDS to change the login par. you will get more info for this on sdn search chaging the login par file

      regards

      Mahesh

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.