It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Preventing the toolbar to appear ...

Preventing the toolbar to appear ...

Postby omega66 on Mon Oct 15, 2007 10:54 am

Dear sirs,

I'm new at this so please help me out. I need to prevent others from copying pictures from my website. I know about the “right click” scripts, but that’s not what I'm looking for. All I want to do is to prevent the toolbar for saving pictures from popping up every time a “mouse over” event happens.

Can you please help me? Sorry, I know my question’s lame as well as my English. Thank you all in advance.

C ya.
:oops:
omega66
 
Posts: 3
Joined: Mon Oct 15, 2007 10:41 am

Postby bobbyblades on Mon Oct 15, 2007 11:25 am

your english and question seem fine to me. anyway on to your question. first off there is no real way to prevent people from saving images off your site if they really want to they could just disable javascript or look in the source code. I think your referring to the toolbar in IE? if so I don't think there is a way to disable that because it's native browser code causing it to popup, meaning it's out of the scope of javascript. I could be wrong because I don't use IE
User avatar
bobbyblades
50+ Club
 
Posts: 85
Joined: Fri Aug 24, 2007 8:38 pm
Location: hawaii or bust

Postby omega66 on Mon Oct 15, 2007 11:55 am

bobbyblades, :)

Thanx 4 replying.

I noticed that some pictures don’t show the mentioned toolbar (yes, in IE), and others do. Why is that? What’s the difference between these pictures? Just can’t figure this one out. Any ideas?

Thanx once again.

Cya
omega66
 
Posts: 3
Joined: Mon Oct 15, 2007 10:41 am

Postby dafunkymunky on Mon Oct 15, 2007 5:48 pm

And hey there is one way to do it.. You call a function for open in new window and prevent the right click and also prevent the toolbar from appearing. I saw this in one guys site... But then there is the temporary internet folder to find the images.. So there is now way to prevent a person from copying..
--------DAFUNKYMUNKY--------
::THE::NECESSARY::[D]EVIL::
....errr i mean munky....
User avatar
dafunkymunky
100+ Club
 
Posts: 183
Joined: Fri Apr 08, 2005 7:32 am
Location: India

Postby knifeinback on Tue Oct 16, 2007 6:23 am

Okay. here is the best way to completely make images non-removable / stealable from your site.

Use Javascript to prevent anyone from right clicking, to do anything.
once you have that done, you stop rightclick > save or sourcecode.

then, put a transparent div over the image.
this reensures that they wont be able to right click it, even if JS is off.

but then, the source code is a problem.
User avatar
knifeinback
100+ Club
 
Posts: 136
Joined: Fri Jul 27, 2007 10:41 am
Location: 4170: Brisbane

Postby bobbyblades on Tue Oct 16, 2007 6:47 am

also in firefox you can see all the images on a page by going to:

tools>page info

and it lets you save any image as well so there is no good way to block images from being saved
User avatar
bobbyblades
50+ Club
 
Posts: 85
Joined: Fri Aug 24, 2007 8:38 pm
Location: hawaii or bust

Postby omega66 on Tue Oct 16, 2007 8:10 am

Yeah! I'll try the transparent thingy ... that should trick the toolbar ... will try ot now ... thanx guys :)
omega66
 
Posts: 3
Joined: Mon Oct 15, 2007 10:41 am


Who is online

Users browsing this forum: No registered users and 4 guests