Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Abhi
(63)
Appukuttan
(40)
divya
(36)
Last 7 Days
Appukuttan
(660)
Babu Akkandi
(465)
Tejinder Singh ...
(273)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
Block the Right Clicking on page
Posted Date: 18 Jun 2008
Resource Type:
Tips
Category:
Web Development
Author:
Subodh kumar Prajapati
Member Level:
Gold
Rating:
Points
: 3
You can block right clicking on your page. By this feature you can ensure that no one see your client side code by view source. And if you don't want that no one make copy of your page content then this will be helps you.
Normally if you make right click on web page then you can see that there are many options comes. In these option, the view source option is one of them. By this option you can see hole structure of your web page (like designing part) and you can also see the script part which will be use on that page.
So if you want to block all the options of page then you can use this line of code in tag in your page:
Body onContextmenu="return false"
By this single line of code , the right clicking becomes block.
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
(No tags found.)
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Database Operations Tips [Performance Improvement]
Previous Resource:
Block Back button of browser
Return to Discussion Resource Index
Post New Resource
Category:
Web Development
Post resources and
earn money
!
Related Resources
Standards for Queries
Tips for Creating a better E-Commerce Application
Performance tuning an asp.net page
ASP.NET Page Loading events before and after post-back
List of Proxy Sites
dotNet Slackers
BizTalk Adaptors
Web Design
Contact Us
Privacy Policy
Terms Of Use