tel links in gptg
Par fred, Saturday 17 March 2007 à 17:32 :: Golf :: #20 :: rss
While working on gptg I wanted to be able to phone to the club by clicking on the tel link. To be able to do this I had to do the following in firefox:
- open the about:config page
- add the Boolean property network.protocol-handler.external.tel with a value of true
- add the String property network.protocol-handler.app.tel with a value of /usr/local/bin/phone-call
#!/bin/sh exec twinkle --immediate --call "`echo $1 | sed s/tel://`" # phone-call ends here
Commentaires
Aucun commentaire pour le moment.
Ajouter un commentaire