1
function unityReady() {
2
Unity.addAction("http://duckduckgo.com/", function () {
3
Unity.Notification.showNotification("Nouvelle recherche", "Vous vous apprêtez à lancer une nouvelle recherche.");
5
Unity.addAction("http://help.duckduckgo.com/customer/portal/articles/216441/", function() {
6
Unity.Notification.showNotification("Installation de l'extension", "Vous cherchez actuellement à installer DuckDuckGo sur votre navigateur web.");
8
Unity.Launcher.addAction("Internet", internetActionCallback);
10
var Unity = external.getUnityObject(1.0);
12
Unity.init({name: "DuckDuckGo",
13
iconUrl: "http://duckduckgo.com/assets/logo_homepage.normal.v102.png",
14
homepage: 'http://duckduckgo.com'
15
domain: 'duckduckgo.com'