ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ankit Jain <ankit.j...@hotwaxmedia.com>
Subject Re: How to disable right click and back buttons after logged in into ofbiz
Date Wed, 02 Jun 2010 16:31:07 GMT
Hi,
For disabling right click you can use the following code :

<script type="text/javascript">
document.oncontextmenu=new Function("return false")
</script>

-- 

Thanks&  Regards:
Ankit Jain
Enterprise Software Developer
Hotwax Media Pvt. Ltd.
www.hotwaxmedia.com



On Wednesday 02 June 2010 05:36 PM, sachin kanojiya wrote:
> Hello,
>
> You can restrict your user to go back using this javascript.
>
> <script type="text/javascript">
>          window.history.forward(0);
> </script>
>
> Regards
> Sachin kanojiya
>
>    



Mime
View raw message