]> git.pld-linux.org Git - packages/firefox.git/blobdiff - mozilla-firefox.sh
- use -new-tab or -new-window when passing an URL to binary
[packages/firefox.git] / mozilla-firefox.sh
index ac9e4b0b75f8377e4ce87b63ec560c6e78b391e6..2221afd0b84d2bc5c3e69d53cb4cdfca515a8110 100644 (file)
@@ -72,9 +72,9 @@ else
                        fi
                        grep browser.tabs.opentabfor.middleclick ~/.mozilla/firefox/*/prefs.js | grep true > /dev/null
                        if [ 0 -eq 0 ]; then
                        fi
                        grep browser.tabs.opentabfor.middleclick ~/.mozilla/firefox/*/prefs.js | grep true > /dev/null
                        if [ 0 -eq 0 ]; then
-                               exec $FIREFOX -remote "OpenUrl($URL,new-tab)"
+                               exec $FIREFOX -new-tab "$URL"
                        else
                        else
-                               exec $FIREFOX -remote "OpenUrl($URL,new-window)"
+                               exec $FIREFOX -new-window "$URL"
                        fi
                fi
        fi
                        fi
                fi
        fi
This page took 0.993355 seconds and 4 git commands to generate.