Previous Thread
Next Thread
Print Thread
Rate Thread
#109096 10/11/2001 8:11 AM
Joined: Oct 2001
Posts: 9
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 9
Hi there.

There is any perl script that I can load so the status bar will hide the real LINK to the forums, posts etc and disable the right mouse click?

I made a virtual host and I would like to hide the real link to the posts so I can protect the server from DOS atacks and undesirable users.

Thank you

Sponsored Links
#109097 10/11/2001 1:26 PM
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
There are JavaScript methods to do this, but you won't find any done in Perl. wink

#109098 10/11/2001 1:27 PM
Joined: Jun 2001
Posts: 104
Member
Member
Offline
Joined: Jun 2001
Posts: 104
they could still veiw the source and get all the info they want. up under veiw on ie is has source.

#109099 10/11/2001 1:43 PM
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
The eXtreme One: please read this article for more info on what you just said. We've been talking about this issue over at the SitePoint Forums recently. wink

#109100 10/11/2001 1:53 PM
Joined: Oct 2001
Posts: 9
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 9
You can disable "View Source " in the IE.
What I want to do is to disable Right Mouse Click .
There has to be a way to do it ... some prl script that will load a java script maybe ?

Please ...need this !

I have included the "ultimateubb.cgi" in a frame and I have disabled the link in the task bar but I still need the thing with disabling right click.

[ 10-11-2001: Message edited by: stefanos ]

Sponsored Links
#109101 10/11/2001 2:11 PM
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
Moving to the HTML/JS/CSS forum because this is not server side scripting. Go there to resume communications... wink

#109102 10/11/2001 2:16 PM
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
Quote
quote:
You'd do yourself some good to read this article , as well. But I warn you, it's not in the spirit of the web to take control out of the user's hands. The web is a flexible medium, and people tend to get a tad hostile when they can't right click or see where they are.

Just keep that in mind if you do decide to totally gimp the browser.

#109103 10/11/2001 6:33 PM
Joined: Oct 2001
Posts: 9
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 9
Found the solution smile

You have to edit a few template files and insert this code right after the first line wich is the description of the templete :

$instant_jscript = qq~

~;

but I think if you only include the next script in the last JAVA script sequence into the files : var_style_1.cgi and var_style_2.cgi it woyld be enough.

message = "Function Disabled!";
function NoRightClick(b) {
if(((navigator.appName=="Microsoft Internet Explorer")&&(event.button > 1))
||((navigator.appName=="Netscape")&&(b.which > 1))){
alert(message);
return false;
}
}
document.onmousedown = NoRightClick;

Thanx for the support smile

[ 10-11-2001: Message edited by: stefanos ]

#109104 10/25/2001 9:39 AM
Joined: Nov 2000
Posts: 20
Member
Member
Offline
Joined: Nov 2000
Posts: 20
herez a better 1, this disablez the popup menu al2gether

Code
code:


Yourz truly
Baby Jordan

"Tell theze BadBoy luvvin' b*tchez 2 bring it on"

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)