|
|
@@ -134,8 +134,13 @@ for url in "$@"; do
|
|
|
if [ ".$first" = .yes -a ".$restart" = .yes ]; then
|
|
|
# handling of first URL if restarting is necessary
|
|
|
verbose "running new process"
|
|
|
- verbose "exec: $mozilla_bin \"$url\" >/dev/null 2>&1 &"
|
|
|
- $mozilla_bin "$url" >/dev/null 2>&1 &
|
|
|
+ if [ ".$url" = ".about:blank" ]; then
|
|
|
+ verbose "exec: $mozilla_bin >/dev/null 2>&1 &"
|
|
|
+ $mozilla_bin >/dev/null 2>&1 &
|
|
|
+ else
|
|
|
+ verbose "exec: $mozilla_bin \"$url\" >/dev/null 2>&1 &"
|
|
|
+ $mozilla_bin "$url" >/dev/null 2>&1 &
|
|
|
+ fi
|
|
|
else
|
|
|
# delayed waiting for process to be finally remotely available
|
|
|
# if it was started from scratch for the handling of the first
|
|
|
@@ -157,7 +162,11 @@ for url in "$@"; do
|
|
|
|
|
|
# determine remote command
|
|
|
if [ ".$opt_w" = .yes ]; then
|
|
|
- cmd="openURL($url, new-window)"
|
|
|
+ if [ ".$url" = ".about:blank" ]; then
|
|
|
+ cmd="xfeDoCommand(openBrowser)"
|
|
|
+ else
|
|
|
+ cmd="openURL($url, new-window)"
|
|
|
+ fi
|
|
|
elif [ ".$opt_t" = .yes ]; then
|
|
|
cmd="openURL($url, new-tab)"
|
|
|
else
|