Thanks.
The weblog is hosted on blogspot (blogger) ... and so I cannot do anything except for modifying the HTML... Nevertheless, I wonder if I could upload an ip-blocking program (e.g. written in php) to my own server and then paste something including an appropriate link into the blog template ? Would it work ?
I got the following javascripts :
Quote:
--- I) <script language="javascript">
var ip = '<!--#echo var="REMOTE_ADDR"-->'
if (ip == '206.186.23.178') {
alert("STOP! You are viewing this page from an IP address that is not allowed!");
alert("Why can't you guys just leave me alone?");
if (confirm("Do you want to leave peacefully? Or will I have to help you?"))
{location.href="http://www.yahoo.com" } else { ("OK you choose I don't care! Bye bye! Don't come back!"); {location.href="http://www.yahoo.com" }} }
</script>
--- II)<!-- ONE STEP TO INSTALL IP ADDRESS FILTER 2:
1. Copy the coding into the HEAD of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Original: kdcgrohl -->
<!-- Web Site: http://www.kdcgrohl.com -->
<!-- Begin
// This JavaScript uses server side includes ("SSI") so this document's name must end in .shtml
function ban(){
var ip = '<!--#echo var="REMOTE_ADDR"-->';
//add as many ip's below as you wish.
if (ip == "x.x.x.x" || ip == "x.x.x.x") {
//if you wish to change the alert message, do so below.
alert("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Attentio n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\nYour ip address \("+ip+"\) has been banned!");
history.go(-1);
window.location.replace("http://javascript.internet.com/")
}
}
ban();
// End -->
</script>
<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<!-- Script Size: 1.10 KB --> |
but, unfortunately they simply don't work

(((
And - I wonder if it is possible to disable proxies ? As you probaby know - there are sites, which one view connect through a proxy. I sometimes get the message "this type of connection is not supported". So I concluded: there must be a way - at least in case of transparent proxies.