PDA

View Full Version : Right click on a domain?


Wizzo
04-23-2000, 12:54 PM
Does anyone here know of a way to pop a console or redirect a ENTIRE domain on right click .

I realize I can script each page, but I would like a script or something to be able to effect a domain as a whole http://adultwebmasterinfo.com/ubb/smile.gif

Duke
04-23-2000, 02:14 PM
Pls contact me on ICQ# 55419179

richard
04-23-2000, 03:06 PM
Simple solution:

Put your code into a file called redirect.js (or whatever).

On each page you want the code to be used, use the following:


<SCRIPT language="Javascript" SRC="http://www.yoururl.com/location/to/redirect.js">
</SCRIPT>


using the SRC property inserts whatever is in that file, in between the <script> tag.

easy.

If you want a really lush solution, use the Apache server, code a module (using C or Perl - mod_perl rules!) so that any files in a certain location automatically get the javascript inserted.

Happy Easter.

Richard.

run
04-24-2000, 06:16 AM
the #include directive looks like quite a simple way to do it i think