Webmaster Tuhy Posted June 19, 2006 Share Posted June 19, 2006 yeah, my friend told me it's complicated, but he doesn't know the code for itcan someone help me? Link to comment Share on other sites More sharing options...
scott100 Posted June 19, 2006 Share Posted June 19, 2006 yeah, my friend told me it's complicated, but he doesn't know the code for itcan someone help me?<{POST_SNAPBACK}> The easiest way is:<body oncontextmenu="return false"> (Works in IE and Firefox)If your trying to stop someone from stealing an image then there are other ways to get it even if right click is disabled... If you search the forum you'll see numerous discussions on this. Link to comment Share on other sites More sharing options...
aspnetguy Posted June 19, 2006 Share Posted June 19, 2006 (edited) yeah, my friend told me it's complicated, but he doesn't know the code for itcan someone help me?<{POST_SNAPBACK}> document.oncontextclick = function(){return false} EDIT: hey scott you were a little faster this time Edited June 19, 2006 by aspnetguy Link to comment Share on other sites More sharing options...
johna100 Posted June 19, 2006 Share Posted June 19, 2006 Ok, im learning javascript now and im learning about disableing right click now so when i find out ill send the code via email or post it in this topic. Link to comment Share on other sites More sharing options...
johna100 Posted June 19, 2006 Share Posted June 19, 2006 document.oncontextclick = function(){return false} <{POST_SNAPBACK}> OK, yeah nevermind he just told you.... Link to comment Share on other sites More sharing options...
Webmaster Tuhy Posted June 19, 2006 Author Share Posted June 19, 2006 OK, yeah nevermind he just told you....<{POST_SNAPBACK}> ok, thanks everybody Link to comment Share on other sites More sharing options...
scott100 Posted June 19, 2006 Share Posted June 19, 2006 EDIT: hey scott you were a little faster this time He he, yeah mate it's my new super duper lightning quick Opera browser Now i've got the edge Link to comment Share on other sites More sharing options...
aspnetguy Posted June 19, 2006 Share Posted June 19, 2006 He he, yeah mate it's my new super duper lightning quick Opera browser Now i've got the edge <{POST_SNAPBACK}> Pssph! Link to comment Share on other sites More sharing options...
fullphaser Posted June 19, 2006 Share Posted June 19, 2006 the only problem with disabling right click is that doesn't stop them from using print screen Link to comment Share on other sites More sharing options...
justsomeguy Posted June 19, 2006 Share Posted June 19, 2006 Or turning off javascript and doing whatever they want anyway (F12, Opera lovers). Or looking in the cache and getting what they want. Or using a script to retrieve the page and all files associated with it. Or dragging the images to another application.About the only thing that disabling a right-click does do is irritate and annoy people. Link to comment Share on other sites More sharing options...
dcole.ath.cx Posted June 20, 2006 Share Posted June 20, 2006 yeah, what justsomeguy said... html is open source, and it's not like you the first to use some serect tag.. Link to comment Share on other sites More sharing options...
aspnetguy Posted June 20, 2006 Share Posted June 20, 2006 It doesn't matter if you have created the best website layout...ever...not likely tho. If a person is any good with HTML at all they can easilt reproduce it just by looking at the page. You are only wasting your time trying to secure your code. If it goes to the browser then it can be viewed, one way or another. Link to comment Share on other sites More sharing options...
justsomeguy Posted June 20, 2006 Share Posted June 20, 2006 I guess I left one out. You can also use a packet sniffer to read everything that comes through the internet connection and reassemble it yourself! Disable that! Link to comment Share on other sites More sharing options...
aspnetguy Posted June 20, 2006 Share Posted June 20, 2006 I guess I left one out. You can also use a packet sniffer to read everything that comes through the internet connection and reassemble it yourself! Disable that!<{POST_SNAPBACK}> Can I do that with JavaScript??? LOL Link to comment Share on other sites More sharing options...
ben3001 Posted June 22, 2006 Share Posted June 22, 2006 in my opinion its pointless disabling right click, in firefox all you have to do is right click--> view info--> View media --> you can save all images a touch of a button.i think if you dont want somone steling your html, i think it might need encryptinghttp://www.aevita.com/web/lock/im think anyway Link to comment Share on other sites More sharing options...
justsomeguy Posted June 22, 2006 Share Posted June 22, 2006 That encryption software is so powerful that the page doesn't even display in Opera. Now THAT'S secure!The encryption is javascript-based, so at the end of the day all of the data for the webpage and the code to decrypt it is on the client, it would just require some manual work to make it readable. An empty page (with the about:blank in the url address bar) appears in4 cases only: 1. A wrong password was entered;2. Off-line page viewing protection is on;3. Opera browser protection is on;4. Location or Referrer Lock protection is on.To solve the problem you can either turn off the correspondingprotection option and re-protect your files again or (in case you wantto keep the protection) make sure that you: 1. have entered the right password;2. don't try to view the protected page off-line (from your local hard drive);3. don't use Opera browser to view the protected page;4. use the Location or/and the Referrer Lock protection option properly.Now that's funny. The fact that it displays a blank page in Opera is a *FEATURE*. "Opera browser detection" means don't give Opera anything. Nice solution. I guess Opera is too powerful for the encryption.. OR they know that all their code is on the client and Opera just gives you easier access to everything. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now