Is there a script that will close a popup window if the user trys to right click the page? I have a popup on my site that I dont want users to be able to View Source on, and I personally think the "Alert- Right Click has been disabled" scripts are very annoying.
I know <body onBlur="self.close()" onClick="self.close()"> for left click, but is there something for right click?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System
Or instead of cheating your hosting company AND your users, just don't have the popup in the first place.
Since someone did bring the thread back, explain how it's "cheating the hosting companies?"
If its a popup that loads when the page loads its annoying, not cheating. But if its something like I have on my site for definitions to certain words or sections, where the user clicks a link and has a popup page appear, it makes it easier for the user, instead of redirecting them to another page, then making them go back to the first page.