Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No Right Click


gonk

Recommended Posts

Is there a way to enter a code that will prevent right clicks and scramble the source code on the page I have 2 scripts that work on other carts but not sure how to enter them in this one. Seems they are javasrcipts

 

Can someone help

Link to comment
Share on other sites

You can add such code. Just search through the code and find where other javascript is added. It is basically jsut a direct plug-in as long as you keep the comment tags. But it is really a waste of time and may do you more harm than good since people don't like having their computer settings messed with. Just an unsolicited opinion FWIW.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Sorry but you are wrong there. It is a temporary change but it is a change all the same. The average user may not have the experience to know that website has disabled a function of the mouse. They go to the site, right click and it appears to them that their mouse is broken. I've seen this happen. Another person I know was searching the web and ran across a site that had right click disabled. She wanted to bookmark the site to come back to it later. When she right clicked, she got a message saying that image theft was not allowed on that site. She was extremely upset to be accused of something that wasn't true. That site lost a customer as well as gained much bad publicity. That was two years ago and she is still mentioning it to anyone that will listen.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I was merely pointing out how totally incorrect you were Jack about your comment regarding changing a persons computer settings and that the VAST majority of users are well aware of no right click schemes.

 

The scritping to prevent right clicking in osCommerce should only be placed in the popup image script(s) anyway, not throughout the entire site.

 

But I assumed that was just common sense.

 

The fact that your friend was so outraged is a tragedy and yet another case of how the internet hurts people. Shut it down and prevent this sensless pain.

Link to comment
Share on other sites

IMHO, disabling right click is a nuisance and not very professional. There are many reasons to right click without trying to steal your images or code. I use right click to open links in new tabs and print the target link and add bookmarks. The ?determined visitors? can always disable javascript or simply look in their cache. It is best to watermark your images instead.

 

Also, obfuscating your pages is possible. What is the benefit gained? Your visitors won?t be able to see your rendered html pages. Oh yes, if pages will not be viewable by anyone that does has javascript enabled.

 

If you?re talking about ?scrambling? the php source code because you are a freelance software developer, I can see certain situations where you would need it.

 

Robert

Link to comment
Share on other sites

I've disabled the right click and mouse select using this contribution http://www.oscommerce.com/community/contributions,2676

 

We had several occasions where our site was being trawled by someone and was traced back to a site that holds a database of pictures that people could buy.

 

We banned the IP from accessing our site and installed the above contribution so it doesn't happen again. The right click and mouse select has only been disabled on the front page and all product pages, not from the customers account or shopping cart pages.

 

It certainly hasn't caused any problems and definately hasn't stopped the orders from coming it :D

 

Derek

 

 

 

 

 

The Lingerie Store

Link to comment
Share on other sites

Is there a way to enter a code that will prevent right clicks and scramble the source code on the page I have 2 scripts that work on other carts but not sure how to enter them in this one.  Seems they are javasrcipts

 

Can someone help

 

 

So some say yes and some say no

 

Truth is I also am a strong user of the right click as a short cut and I too am bothered by this but in other ways you have to protect products that do belong to others too.

 

This still does not solve a problem when you have items for sale and do not want them copied by right clicking

 

These products are clip art, templates and more some can be taken right off the site

 

If I was able to give all of them away I would, some of the premium i will allow a right click but others I have to charge a minium amount and do not want them just taken off the site as for the creators of these products they would like to get some money for their work

Link to comment
Share on other sites

I was merely pointing out how totally incorrect you were Jack about your comment regarding changing a persons computer settings and that the VAST majority of users are well aware of no right click schemes.

 

The scritping to prevent right clicking in osCommerce should only be placed in the popup image script(s) anyway, not throughout the entire site.

 

But I assumed that was just common sense.

 

The fact that your friend was so outraged is a tragedy and yet another case of how the internet hurts people. Shut it down and prevent this sensless pain.

Youare making a number of bad assumptions. Read the posts on any basic computer list and you will find how many people are still ignorant of the workings of the computer and the Internet. Because you may know the answers, doesn't mean everyone else does. And causing those people to become confused or angry can in no way gain you any points. The only people that disabling right click will fool are probably the same ones I am referring to. Everyone else knows there are many ways around it.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

BIG online video sites (non porn too btw) owned by some BIG major companies (US companies too) use no right click on box covers. Seems the motion picture industry has some issue with cover art being passed around as it too is copyright material. Hell - a W3C member even uses it on its SEO site.... Last i saw they were US based too.

 

I was merely trying to point out the glaringly WRONG information passed out about affecting computer setting through no right click javascript - LMFAO!!!!!!!!!!!

 

Not to start world war 3 over friggin right clicks....

Link to comment
Share on other sites

Oh and one last thing - if only the popup window has the code in it, and you remove any way OTHER than the javascript command to open the window - plus if you enccode the popup window PHP so that it cant be cached nor its contents - you have effectively prevented the theft of your large image. All this and you wont piss anyone off cause only that one little window will be effected.

 

BUT I GUESS YA ALL MISSED THAT PART OF MY POST.

Link to comment
Share on other sites

Oh and one last thing - if only the popup window has the code in it, and you remove any way OTHER than the javascript command to open the window - plus if you enccode the popup window PHP so that it cant be cached nor its contents - you have effectively prevented the theft of your large image. All this and you wont piss anyone off cause only that one little window will be effected.

 

BUT I GUESS YA ALL MISSED THAT PART OF MY POST.

 

Except you'd be considered to be breaking the law. DID YA MISS THAT PART OF MY POST ;)

 

So, you've done all the above.

~ People could steal simply by browsing your images folder, did you protect that?

~ Or they could steal by doing a screenshot, how you gunna protect from doing that?

~ Or they could use a browser that has no Javascript, would they still be able to see that large image? Might put "real" buyers off from buying.

~ You run the risk of being sued (unlikely I know) by breaking the DDA.

 

Why not just watermark the image if it's that much of a concern. If anyone is determined enough to grab your images, there is *nothing* you can do to protect them.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...