From 0dc0cd6c1139660b1b07f2a7ffdf7ad6e2e08136 Mon Sep 17 00:00:00 2001 From: Elbert Alias Date: Sun, 22 Jun 2014 12:49:28 +1000 Subject: [PATCH] Fixed HTML driver --- drivers/html/js/driver.js | 24 ++++++++++++++---------- share/apps.json | 8 +++++++- share/images/icons/Nepso.png | Bin 0 -> 1855 bytes 3 files changed, 21 insertions(+), 11 deletions(-) create mode 100644 share/images/icons/Nepso.png diff --git a/drivers/html/js/driver.js b/drivers/html/js/driver.js index 98a622b17..1ad4a4986 100644 --- a/drivers/html/js/driver.js +++ b/drivers/html/js/driver.js @@ -27,28 +27,32 @@ w.categories = json.categories; w.apps = json.apps; + + window.document.addEventListener('DOMContentLoaded', function() { + w.analyze('google.com', 'http://google.com', { + html: '