From ebd8ff4e62e6167af52429a055b75dc07db59693 Mon Sep 17 00:00:00 2001 From: oes Date: Tue, 2 Apr 2002 08:45:22 +0000 Subject: [PATCH] Made script location indepandant --- doc/webserver/actions/index.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/webserver/actions/index.php b/doc/webserver/actions/index.php index 149ace9d..b8c60c84 100755 --- a/doc/webserver/actions/index.php +++ b/doc/webserver/actions/index.php @@ -8,9 +8,12 @@ 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 @@ -71,9 +74,12 @@ $actions_file_download = "http://www.privoxy.org/actions/testdrive.action"; //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());"; -- 2.39.2