473,394 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 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 1552
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Joe | last post by:
I am trying to read the EventLog of different servers on the network. If I run the script in a command line, it works well. But when I try to put the script into the Web server (IIS in Windows...
11
by: yaktipper | last post by:
This explains how to disable the view source / right-click menu in Netscape 4, Netscape 6 and Internet Explorer (IE). <script language="JavaScript"> //This code is the beginning of the right...
6
by: Max | last post by:
i want to insert a predefined string in a textarea when i right click on the mouse. i need to do it in internet explorer and mozilla.
8
by: George Hester | last post by:
In a page I have when the user left-clicks the page a Input box for a form gets the focus. But if the user right-clicks the page the Input box is not getting the focus. I'd like the Input box to...
5
by: Someone | last post by:
I know many don't like having right click disabled, however this is a unique case where clients using viewing this particular site will not be world wide so it's not going to affect too many...
15
by: Viviana Vc | last post by:
How can I programatically do the equivalent of the following: cacls "C:\Program Files\test" /T /G Everyone:f ? Thanks, Viv
3
by: Bob Bedford | last post by:
I understand nothing about the rights ! I create directories and subdirs by php scripts. I've an admin accound, and trying to delete files by FTP, I've not the right to. Admin should have ALL...
1
by: innermostsecret | last post by:
i am using dreamweaver 8 to build my site. i want to put a code in that stops people from viewing my page source and right clicking on the page. i did a google to find a code for this and used it. ...
16
by: news | last post by:
I'm trying to parse an XML formatted post reply, and I can't figure out how to get the value of the right tag. The XML is formatted like this: <A> <foo>val1</foo> </A> <B> <foo>val2</foo>...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.