Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

Stop stealing my damn javascript code
Goto page Previous  1, 2
 
Post new topic   Reply to topic    SearchIRC Forum Index -> Chat
Author Message
codemastr
Idler
Idler


Joined: 05 Feb 2004
Posts: 353

PostPosted: Apr 26, 2005 8:29pm    Post subject: Reply with quote

PingBad wrote:
Xander wrote:
i suppose a slight remedy to stop stealing is disabling the right click function.

good luck though on getting it removed.
<BODY oncontextmenu="return false;"...> would disable such, but the problem is, there's also View Source in the IE View menu.

It's sent to you as plaintext. Anyone with half a brain can figure out how to intercept it.
Back to top
braindigitalis
Idler
Idler


Joined: 22 Sep 2003
Posts: 443
Location: IRC

PostPosted: Apr 27, 2005 6:24am    Post subject: Reply with quote

also if you try and disable right click in firefox/mozilla, the right click menu still comes up over the "you cant save this!" box that people usually try and pop up, because its not dumb like IE...

Anything you view goes to your cache, you cant 'stop' someone downloading it, they already have if theyre looking at it!
Back to top
PingBad
Guru
Guru


Joined: 05 Feb 2005
Posts: 2064
Location: New Zealand

PostPosted: Apr 27, 2005 8:13am    Post subject: Reply with quote

braindigitalis wrote:
Anything you view goes to your cache, you cant 'stop' someone downloading it, they already have if theyre looking at it!
Well, in ASP, one could use the
Code:
<% Response.Expires = Now + (1/3600) %>
property, thus the page only spends one second in the cache. Or use metatags to the same effect. However, there is always a way to get at source code of a given page/site; and people one way or another are going to figure out how
Back to top
braindigitalis
Idler
Idler


Joined: 22 Sep 2003
Posts: 443
Location: IRC

PostPosted: Apr 27, 2005 8:53am    Post subject: Reply with quote

PingBad wrote:
braindigitalis wrote:
Anything you view goes to your cache, you cant 'stop' someone downloading it, they already have if theyre looking at it!
Well, in ASP, one could use the
Code:
<% Response.Expires = Now + (1/3600) %>
property, thus the page only spends one second in the cache. Or use metatags to the same effect. However, there is always a way to get at source code of a given page/site; and people one way or another are going to figure out how


wget http://address/path/to/page

dum de dum... Smile
Back to top
codemastr
Idler
Idler


Joined: 05 Feb 2004
Posts: 353

PostPosted: Apr 27, 2005 6:30pm    Post subject: Reply with quote

braindigitalis wrote:
also if you try and disable right click in firefox/mozilla, the right click menu still comes up over the "you cant save this!" box that people usually try and pop up, because its not dumb like IE...


Why does this make IE dumb? I think this makes Firefox dumb. I often replace the context menu with my own information. For example, I made an eBook viewing website where the context menu contained things like "define this word" and "Insert a note here" and stuff like that. IE allows me to do this because I can create my own context menu and display that instead. So why is Firefox "smart" for allowing me to create my own contextmenu, but then displaying its menu on top of mine? What use is there for the oncontextmenu event if you can't prevent the default behavior?

Also the cache is irrelevant. You can view it as it is coming across the socket. All you need is a network sniffing program.
Back to top
PingBad
Guru
Guru


Joined: 05 Feb 2005
Posts: 2064
Location: New Zealand

PostPosted: Apr 27, 2005 9:00pm    Post subject: Reply with quote

codemastr wrote:
Also the cache is irrelevant. You can view it as it is coming across the socket. All you need is a network sniffing program.
As I've said; However, there is always a way to get at source code of a given page/site; and people one way or another are going to figure out how
Back to top
ed
SearchIRC Staff
SearchIRC Staff


Joined: 25 May 2003
Posts: 367
Location: Baton Rouge, LA

PostPosted: Apr 27, 2005 10:01pm    Post subject: Reply with quote

codemastr wrote:
Why does this make IE dumb? I think this makes Firefox dumb. I often replace the context menu with my own information. For example, I made an eBook viewing website where the context menu contained things like "define this word" and "Insert a note here" and stuff like that. IE allows me to do this because I can create my own context menu and display that instead. So why is Firefox "smart" for allowing me to create my own contextmenu, but then displaying its menu on top of mine? What use is there for the oncontextmenu event if you can't prevent the default behavior?


It's fine that you want your web site to have a certain context menu, but I don't want your web site preventing me from access my browser's normal context menu. You shouldn't have control over my browser. (Same thing goes with automatically resizing windows and such) IE may not be dumb, but Firefox is smarter when it comes to things like this.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> Chat All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer