diff --git a/drivers/bookmarklet/bookmarklet.html b/drivers/bookmarklet/bookmarklet.html index 9e9cbf034..893cf2334 100644 --- a/drivers/bookmarklet/bookmarklet.html +++ b/drivers/bookmarklet/bookmarklet.html @@ -33,8 +33,8 @@ iframe.setAttribute('id', 'wappalyzer-bookmarklet'); iframe.setAttribute('allowTransparency', 'yes'); iframe.setAttribute('frameborder', 'no'); - iframe.setAttribute('height', '400'); - iframe.setAttribute('src', 'index.html'); + iframe.setAttribute('height', '10'); + iframe.setAttribute('src', 'http://wappalyzer.com/bookmarklet/2/index.html'); iframe.setAttribute('width', '220'); iframe.setAttribute('style', ' margin: 0 0 20px 20px; diff --git a/drivers/bookmarklet/css/wappalyzer.css b/drivers/bookmarklet/css/wappalyzer.css index 95e6fe076..39314fc05 100644 --- a/drivers/bookmarklet/css/wappalyzer.css +++ b/drivers/bookmarklet/css/wappalyzer.css @@ -1,26 +1,30 @@ +html { + overflow: hidden; +} + body { color: #000; font-family: Arial, sans-serif; font-size: 13px; - line-height: 1.4em; + line-height: 1.5em; margin: 0; - padding: 10px 0; } #overlay { background: #000; - border-radius: 10px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; + border-radius: 7px; + -moz-border-radius: 7px; + -webkit-border-radius: 7px; left: 0; height: 100%; - opacity: .5; filter: alpha(opacity = 50); + opacity: .2; filter: alpha(opacity = 20); position: absolute; top: 0; width: 100%; } #apps { + padding-top: 2px; position: absolute; width: 100%; } @@ -36,7 +40,7 @@ body { } #apps a:hover { - color: #f90; + color: #0072B6; } #apps .app, #apps #close { @@ -44,7 +48,7 @@ body { border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; - margin: 0 10px 2px 10px; + margin: 0 2px 2px 2px; padding: 7px 10px; } @@ -52,6 +56,10 @@ body { margin-bottom: 3px; } + #apps .category { + color: #999; + } + #apps #close { font-size: 12px; font-weight: bold; diff --git a/drivers/bookmarklet/index.html b/drivers/bookmarklet/index.html index a10025c8d..7160cf6bc 100644 --- a/drivers/bookmarklet/index.html +++ b/drivers/bookmarklet/index.html @@ -2,6 +2,8 @@
+ + diff --git a/drivers/bookmarklet/js/driver.js b/drivers/bookmarklet/js/driver.js index b6151e9d3..a7ce85064 100644 --- a/drivers/bookmarklet/js/driver.js +++ b/drivers/bookmarklet/js/driver.js @@ -33,11 +33,7 @@ displayApps: function() { var url = top.location.href; - document.getElementById('apps').innerHTML = - '' + - 'Close' + - '' - ; + $('#apps').html('Close'); if ( w.detected[url] != null && w.detected[url].length ) { w.detected[url].map(function(app, i) { @@ -59,10 +55,14 @@ } html += ''; - - document.getElementById('apps').innerHTML += html; }); + } else { + html = '