-
April 10th, 2002, 04:29 AM
#1
Junior Member
Is there a script ?
Would anyone perhaps have a html or java code around somewhere that when a web user right clicks on a web page a message of your choice is shown and then if the user right clicks again then the browser is automatically closed.
If anyone has a code like this or similar to this, please let help me know.
Thank You
Dollazo
-
April 10th, 2002, 06:28 AM
#2
Junior Member
what you want is a "javascript" script. go to a javascript site (eg www.a1javascripts.com) and theres listings of all kinds of scripts.
-
April 10th, 2002, 09:49 PM
#3
here is the code to display a msg when someone right clicks on a web-page
<script language=JavaScript>
<!--
/*
Disable right mouse click Script
For full source code to this script and 100's more, visit
http://www.dynamicdrive.com
*/
var message="Function Disabled";
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
alert(message);
return false;
}
}
else if (document.layers||document.getElementById) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</script>
as for shutting down the browser on the second click - soz dunno
v_Ln
-
April 11th, 2002, 12:29 AM
#4
Hey I have a question as well, I dont know if anyone can answer or not, but for all you advance coders out there...
I only know HTML and haven't researched this too much yet. But, does anyone know a script to kill banner ads on a page?
-{[ Joe ]}- (Joe@nitesecurity.com)
http://www.nitesecurity.com
[shadow]I\'m Just A Soldier In This War Against Ignorance.[/shadow]
-
April 12th, 2002, 07:10 AM
#5
Junior Member
Thank You for all your help
-
April 15th, 2002, 11:02 PM
#6
But, does anyone know a script to kill banner ads on a page?
http://hackingtruths.box.sk/banns.htm
has banner blocking tricks for tripod, freeservers, geocities, angelfire, namezero and some more. dont know if they still work or not.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|