All times are UTC - 6 hours




Post new topic Reply to topic   Page 1 of 1
 [ 6 posts ] 
Author Message

 Post subject: Disable context menu on smartphones and tablets?
PostPosted: July 8th, 2014, 8:58 am 
Wizard
Wizard
User avatar

Joined: April 24th, 2007, 9:34 pm
Posts: 386
Gender: Male
Status: Offline
I found quite a couple of JavaScript and jQuery codes to disable right click context menu but it doesn't work for mobile, any idea?

__________________
Image Image


Top
 Profile
 

 Post subject: Re: Disable context menu on smartphones and tablets?
PostPosted: July 8th, 2014, 11:56 am 
Level 0
Village Elder
Village Elder
User avatar

Joined: May 13th, 2004, 6:41 pm
Posts: 18,969
Location: The Tower of Mist
Status: Offline

Donor: Wizard (2013)
Friend of Hiker
Gateux wrote:
I found quite a couple of JavaScript and jQuery codes to disable right click context menu but it doesn't work for mobile, any idea?
What exactly are you referring to? Most tablets and smartphones have no concept of right-clicking (or mouse-hovering either, for that matter, which was a thorn in my side in the past.)

__________________
Image

.
Image

.
Legendary themed months are back! Maybe.
Image
!!!!!!!!!!!!!!!!!!!!!!!!


Top
 Profile WWW 
 

 Post subject: Re: Disable context menu on smartphones and tablets?
PostPosted: July 8th, 2014, 3:32 pm 
(soothzayer)
Village Staff
Village Staff

Joined: April 6th, 2004, 4:19 pm
Posts: 2,192
Location: Vegas
Gender: Male
Status: Offline
My S5 has a hovering feature, but it's limited to a few apps. It does things like let you preview pictures in gallery by hovering, etc.

__________________
Hidden: 
Image


Top
 Profile
 

 Post subject: Re: Disable context menu on smartphones and tablets?
PostPosted: July 8th, 2014, 5:54 pm 
Wizard
Wizard
User avatar

Joined: April 24th, 2007, 9:34 pm
Posts: 386
Gender: Male
Status: Offline
I do not want users to be able to save pictures on hold and tap.

__________________
Image Image


Top
 Profile
 

 Post subject: Re: Disable context menu on smartphones and tablets?
PostPosted: July 8th, 2014, 6:30 pm 
Level 0
Village Elder
Village Elder
User avatar

Joined: May 13th, 2004, 6:41 pm
Posts: 18,969
Location: The Tower of Mist
Status: Offline

Donor: Wizard (2013)
Friend of Hiker
Gateux wrote:
I do not want users to be able to save pictures on hold and tap.
Ah. Well, in my opinion, long story short, if you put any pictures out on the web, anyone can save them. You can disable context menus, but I can immediately think of at least two other ways I can download your pictures very easily that you'll be hard-pressed to block.

But as for a solution to your problem, this looks like a promising start:
http://stackoverflow.com/questions/6612632/disable-save-image-in-ios-web-application

__________________
Image

.
Image

.
Legendary themed months are back! Maybe.
Image
!!!!!!!!!!!!!!!!!!!!!!!!


Top
 Profile WWW 
 

 Post subject: Re: Disable context menu on smartphones and tablets?
PostPosted: July 8th, 2014, 8:33 pm 
Wizard
Wizard
User avatar

Joined: April 24th, 2007, 9:34 pm
Posts: 386
Gender: Male
Status: Offline
Am aware that this is not really a solution to prevent users copying my image but its just a requirement my client wants on their website. Thanks for the link Jaron, but I think for now I will engage freelancer to do it. The webkit CSS only works in iOS not Android.

Anyone wanna take up this job? The website is using WordPress and Flickr photo stream plugin so basically they want to disable context menu on PC and Mac browsers as well as on smartphones/tablets. Will pay USD$50 for this via PayPal.

__________________
Image Image


Top
 Profile
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
The Village and this web site are © 2002-2012

ThePub 2.0 - Designed by Goten & Jackstick. Coded by Glodenox & Henner.
With many thanks to the Website Team!