471,066 Members | 2,001 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,066 software developers and data experts.

no right clikc script

hello i have this no right click script. I runs in a javascript popup. I
know that you can normally save the html page and still see the passed
variables from for example a php script, with a string variable. However if
i use this norigh on a popup you cant save the file as far as i know. Am i
wrong? is there a way to save popups? so is this save enough??

Irlan

<script language=JavaScript>
<!--

//Disable right click script III- By Renigade (re******@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!docum ent.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script>


Jul 23 '05 #1
7 1457
Irlan agous wrote:
hello i have this no right click script. I runs in a javascript popup. I
know that you can normally save the html page and still see the passed
variables from for example a php script, with a string variable. However if
i use this norigh on a popup you cant save the file as far as i know. Am i
wrong?
Yes.
is there a way to save popups?
Yes
so is this save enough??


'Enough'? If you mean "can I see the page source" then yes, I can.

[...]
--
Zif
Jul 23 '05 #2
Irlan agous wrote:
hello i have this no right click script.
Its junk.

I runs in a javascript popup.
Ummm, ok.
I know that you can normally save the html page and still see the passed
variables from for example a php script, with a string variable.
I don't even need to do that. The browser will tell me.
However if i use this norigh on a popup you cant save the file as far as i know.
You need to do some more reading. Try www.opera.com for a starting point.

Am i wrong?
Nah, you just aren't right.

is there a way to save popups?
Yes. More ways to save it than you can come up with to block saving it.
so is this save enough??


Not even close.

--
Randy
Jul 23 '05 #3
In article <6a***************************@news.versatel.nl> , ir******@msn.com
enlightened us with...
hello i have this no right click script.

*laughs uproariously*

You do, eh?
*snickers*

You do realize that with one tiny button click, I can disable that, right?
I love Firefox. And I really love the webdev extension.

Don't want people to see your stuff? Don't put it in HTML.

--
--
~kaeli~
A chicken crossing the road is poultry in motion.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #4
kaeli wrote:
In article <6a***************************@news.versatel.nl> , ir******@msn.com
enlightened us with...
hello i have this no right click script.


*laughs uproariously*

You do, eh?
*snickers*

You do realize that with one tiny button click, I can disable that, right?
I love Firefox. And I really love the webdev extension.

Don't want people to see your stuff? Don't put it in HTML.


<G> Does that mean its safe outside HTML? As in a .js file?

--
Me
Jul 23 '05 #5
In article <1r********************@comcast.com>, Hi************@aol.com
enlightened us with...
Don't want people to see your stuff? Don't put it in HTML.


<G> Does that mean its safe outside HTML? As in a .js file?


Not in a .js file, since the browser sees it, but the browser never sees
server-side code, so if it's in ASP or PHP or whatever and is embedded only
server-side, it's relatively safe.
Relatively. ;)

Anyone who wants something bad enough can usually find a way to get it.
....though I am still trying to figure out how to snurch those full sized
pictures from Wire Image without having a username/pass or knowing the
directory name where they are stored. Just for educational purposes, of
course. *ahem*
Though I haven't tried anything like ftp/http password crackers, since that's
just asking for trouble. :^)

--
--
~kaeli~
Join the Army, meet interesting people, kill them.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #6
kaeli wrote:
In article <1r********************@comcast.com>, Hi************@aol.com
enlightened us with...
Don't want people to see your stuff? Don't put it in HTML.

<G> Does that mean its safe outside HTML? As in a .js file?

Not in a .js file, since the browser sees it, but the browser never sees
server-side code, so if it's in ASP or PHP or whatever and is embedded only
server-side, it's relatively safe.
Relatively. ;)


With a few <snicker>'s thrown in? <G>
Anyone who wants something bad enough can usually find a way to get it.
Ayup.
...though I am still trying to figure out how to snurch those full sized
pictures from Wire Image without having a username/pass or knowing the
directory name where they are stored. Just for educational purposes, of
course. *ahem*


URI?

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #7
In article <-4********************@comcast.com>, Hi************@aol.com
enlightened us with...
...though I am still trying to figure out how to snurch those full sized
pictures from Wire Image without having a username/pass or knowing the
directory name where they are stored. Just for educational purposes, of
course. *ahem*


URI?


If you're really curious, pop me a private e-mail.

--
--
~kaeli~
A boiled egg in the morning is hard to beat.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by George Hester | last post: by
5 posts views Thread by Someone | last post: by
3 posts views Thread by Bob Bedford | last post: by
16 posts views Thread by news | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.