This file belongs in
ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/
- $Id: index.php,v 1.5 2002/04/01 19:13:47 oes Exp $
+ $Id: index.php,v 1.7 2002/04/02 07:21:34 oes Exp $
$Log: index.php,v $
+ Revision 1.7 2002/04/02 07:21:34 oes
+ Using relative link for step2
+
Revision 1.5 2002/04/01 19:13:47 oes
Extended, fixed bugs, beefed up design, made IE-safe
//error_reporting(E_ALL);
error_reporting(E_NONE);
-//$bookmarklet_base = "http://www.privoxy.org/actions/";
-$bookmarklet_base = "http://www.oesterhelt.org/actions/index.php";
-$bookmarklet = "javascript:void(window.open('$bookmarklet_base?url='+escape(location.href), 'Feedback', " .
+
+/*
+ * Bookmarklet that leads here:
+ */
+$my_address = "http://" . $HTTP_SERVER_VARS["HTTP_HOST"] . $PHP_SELF;
+$bookmarklet = "javascript:void(window.open('$my_address?url='+escape(location.href), 'Feedback', " .
"'width=600,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no').focus());";