How to prevent right click on website?

We can prevent ricght click on website pages by using following code

<!– This for right click

//Disable right mouse click Script

var message=”Copyright bwsipl!!”;


function clickIE4(){

if (event.button==2){


return false;



function clickNS4(e){

if (document.layers||document.getElementById&&!document.all){

if (e.which==2||e.which==3){


return false;




if (document.layers){




else if (document.all&&!document.getElementById){



document.oncontextmenu=new Function(”alert(message);return false”)

// –>

We can also prevent copy of text also. How?

We can also prevent copy of text also, by using following code

<!– This for prevent not select text

function disableselect(e){

return false


function reEnable(){

return true


//if IE4+

document.onselectstart=new Function (”return false”)

//if NS6

if (window.sidebar){





Top 10 Qualities of The Perfect Programmer

1. Intellect – can understand the problem, translate and express ideas in clear and readable code, has analytical and logical mind.

2. Personality – has right mixture of personal traits like detail-oriented, creative, flexible, disciplined, sociable, independent etc.

3. Expertise – knowledge and experience for solving client’s problems in the specific context with chosen technologies.

4. Motivation – cares about work, shows enthusiasm, interest and love for programming.

5. Maturity – knows and uses sound software development principles, practices and approaches as agile, design and architecture patterns, domain-driven design, unit testing, refactoring.

6. Pragmatism – understands what is possible, loves simplicity and avoids over-engineering; understands business goals, keeps touch with reality and focus on what should be done.

7. Cooperation – listens, accepts that other people could have better ideas, supports team goals without hidden agenda, shares ideas and knowledge and coach others.

8. Communication – effectively communicates and exchanges ideas, supports knowledge and decisions about the system with clear explanations, justifications and answers.

9. Potential – has professional goals, good learning skills, curiosity, adaptability and performs constant self correction.

10. Vision – sees the big picture, understands context, trends and people, aligns actions with team and company implicit goals, contributes into building shared vision for the software system.

Test and Share Your Code On-Line

Codepad is a pastebin that runs your code for you. It was written by Steven Hazel. Codepad works like a compiler or interpreter, not like the read-eval-print loop of an interactive interpreter prompt. If you want to print the value of an expression, you need to use your language’s print command. If your language requires a “main” function, your program won’t work in codepad without one.

Steven has added support for many languages, including PHP, Python, Ruby and Perl.

How it works

Code execution is handled by a supervisor based on geordi. The strategy is to run everything under ptrace, with many system calls disallowed or ignored. Compilers and final executables are both executed in a chroot jail, with strict resource limits. The supervisor is written in Haskell.

“Hello World” examples:

Excellent tool!

Top 100 Blogs for Developers

PHPImpact makes it to the top 100!

What defines the popularity of a blog? The ranking by Google? Traffic statistics? Feed subscriptions? Feedback from readers? Links from other sites and blogs? The answer is of course… All of them!

Jurgen Appelo announced the new edition of the Top 100 Blogs for Developers. The list is based on a weighed average of each blog’s Google PageRank, Alexa Rank, Technorati Authority, RSSMicro FeedRank, Google hits, and blog comments.

Top 100 Blogs for Developers

« Older entries