I'm trying to create some webapps to use with Firefox. I got an tutorial from Canonical (http://developer.ubuntu.com/resources/app-developer-cookbook/unity/integrating-tumblr-to-your-desktop/) and I didn't understand one thing, maybe someone could help me.
I have to run the following script in Web Console:
// ==UserScript==
// @name tumblr-unity-integration
// @include https://tumblr.com/dashboard
// @version @VERSION@
// @author WebApps Team
// @require utils.js
// ==/UserScript==
window.Unity = external.getUnityObject(1.0);
Unity.init({ name: "Tumblr",
iconUrl: "icon://Tumblr",
onInit: null });
Everything is fine, it created the icon launcher and work with alt+tab. That enough for me by now, but, if I close the windows, the launcher icon that I created before stop working (I mean, it open the site, but doesn't work like other webapp and doesn't show in alt+tab too). Maybe I have to run this script automatically every time I enter on that site (In this example, Tumblr). How can I do that?
Thanks,