-- in Firefox, create the config items -- "network.protocol-handler.app.smb" : "osascript /path/to/smb.scpt" -- "network.protocol-handler.expose.smb" : false -- "network.protocol-handler.external.smb" : true -- "network.protocol-handler.warn-external.smb" : false on run argv mount volume (item 1 of argv) end run