A few month ago I wrote an article on our corportes blog on how to set Firefox instead of sfari as the default browser on Ma OS X’s NetBeans.
In summary:
- Choose “General” from the settings panel
- Add a new Web-Browser
- Type in “/usr/bin/open” as the process
- arguments should be “-a firefox {URL}”
I had to setup another NetBeans installation today, and this was what the settings interface looked like:

No “Add” or “Edit” button at all!
I even thought of hacking /usr/bin/open but than it came to me to – resize the settings window.

Ouch!
It took me quite a while to get dojo.back working in that way, that i prevents that the user is leaving my site accidentaly.
As far as I understood the documentation, dojo.back.setInitialState should have been enough to catch the back button action. But I had to add another historyState to get the intended behaviour. Perhaps this might be useful to someone out there:
dojo.addOnLoad(function() {
dojo.back.setInitialState({
back : function() {
if (confirm('Do you want to leave this site?')) {
history.back();
} else {
history.forward();
}
},
forward : function() { console.log("User clicked forward"); },
changeUrl : true
});
dojo.back.addToHistory({
back : function() {
console.log("initCompleted-back was clicked!");
},
forward : function() {
console.log("initCompleted-forward was clicked!");
},
changeUrl : 'state1'
});
});
Ich will gar nicht groß auf die Vorzüge von Facebook gegenüber StudiVZ eingehen. Fakt ist nur, dass ich für meinen Teil Facebook für die bessere Plattform halte.
Problem dabei: es sind ja nunmal nicht alle Kontakte aus dem StudiVZ in Facebook.
Wenn also jemand Langeweile hat, hier meine Wunsch-Applikation:
- Mitteilung an alle Freunde im StudiVZ, dass man jetzt zu Facebook wechselt.
Am besten mit Link zu einem Formular (ich bin unter dem Namen xyz bei Facebook) und einem Link zur Anmelde-Seite von Facebook
- Bei entsprechenden Rückantworten Verlinkung der Leute bei Facebook
- Mitteilung in alle Gruppen schicken, dass man jetzt bei Facebook ist
(im Idealfall noch einen Deeplink zu einer gleichen gruppe bei Facebook angeben)
- Kopieren aller Bilder aus dem StudiVZ in Facebook
- Übersichtliche Seite zum Profildaten-Abgleich
- und was man noch so kopieren könnte…
Und wenn mir jetzt einer sagt “gibt’s schon längst”, freue ich mich über einen Link.