up

Mozilla Tips

Getting rid of the "install plugin" dialog

Does Mozilla have you down because you keep telling it you don't want to install whatever plugin some web page requires? Well a simple solution is to remove the libnullplugin.so from the plugins directory. With this file removed, the "install plugin" dialog is banished from your life! Rejoice...

How to open in new tabs (instead of new window) from other apps

Would you like to load all your new URLs in new tabs in Mozilla instead of new windows? This handy bash script may be the answer to your problem:

cvig@notebook:~$ cat /usr/local/bin/moz-remote.sh
#!/bin/bash
MOZILLA=/usr/local/mozilla/mozilla
if ($MOZILLA -remote "ping()"); then
     $MOZILLA -remote "openurl($1, new-tab)" &
else
    $MOZILLA $1 &
fi

To setup KDE 3.x to use our handy script go into the Control Center, then Internet & Network->File Associations->text->html

Click "Add" and type in the location to the above script with " %u" appended. So in my case: "/usr/local/bin/moz-remote.sh %u". Then move the new addition to the top of the list to handle html files.

Apparently Knode doesn't pay attention to this setting so it has to be configured seperately: Settings->Preferences, Reading News->Viewer, Open links with: "Other", "/usr/local/bin/moz-remote.sh %u". With KDE 3.2, this setting has moved to KDE Components->File Associations.