From 26f4d2742a5f3b5fa6be6c29616d25e16bc725f7 Mon Sep 17 00:00:00 2001 From: Joe Anzalone Date: Tue, 2 Oct 2012 23:57:53 -0400 Subject: [PATCH] Adding support for MediaElement.js, fixed Firefox driver bug regarding environment variable detection --- .../bookmarklet/images/icons/MediaElement.js.png | Bin 0 -> 862 bytes drivers/bookmarklet/js/apps.js | 4 ++++ drivers/chrome/images/icons/MediaElement.js.png | Bin 0 -> 862 bytes drivers/chrome/js/apps.js | 4 ++++ drivers/firefox/content/js/apps.js | 4 ++++ drivers/firefox/content/js/content.js | 5 +++-- .../firefox/skin/images/icons/MediaElement.js.png | Bin 0 -> 862 bytes drivers/html/images/icons/MediaElement.js.png | Bin 0 -> 862 bytes drivers/html/js/apps.js | 4 ++++ drivers/php/js/apps.js | 4 ++++ share/images/icons/MediaElement.js.png | Bin 0 -> 862 bytes share/js/apps.js | 4 ++++ 12 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 drivers/bookmarklet/images/icons/MediaElement.js.png create mode 100644 drivers/chrome/images/icons/MediaElement.js.png create mode 100644 drivers/firefox/skin/images/icons/MediaElement.js.png create mode 100644 drivers/html/images/icons/MediaElement.js.png create mode 100644 share/images/icons/MediaElement.js.png diff --git a/drivers/bookmarklet/images/icons/MediaElement.js.png b/drivers/bookmarklet/images/icons/MediaElement.js.png new file mode 100644 index 0000000000000000000000000000000000000000..2b7e74bff27378558e78dd63c3dd506fe0b45272 GIT binary patch literal 862 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GGLLkg|>2BR01_q{% z%#etZ2wxwolpi z<;HsXMd|v6mX?^fAQnIuhb^V9K!L0{RY?%Ivsy)v!eY6JCv{i(`m|;MJguTnz>s zYhLt!`M>`_eUw&A&ZHI&$LbrtbI-&@c2#s`$ZQu1SUFm z$@y$EYn2x<5KLDTXS}+jUXd-qUaNn>qwi8KR!{kqmWJ~_6W6_&v%q^IPsFRf;OJ!y j{0`zvnKJHoHQZti{@yQj#5BhVlmk3n{an^LB{Ts57#j+M literal 0 HcmV?d00001 diff --git a/drivers/bookmarklet/js/apps.js b/drivers/bookmarklet/js/apps.js index d9c061487..2569a1ac0 100644 --- a/drivers/bookmarklet/js/apps.js +++ b/drivers/bookmarklet/js/apps.js @@ -880,6 +880,10 @@ cats: [ 1 ], meta: { 'generator': /MaxSite CMS/i } }, + 'MediaElement.js': { + cats: [ 14 ], + env: /^mejs$/ + }, 'MediaWiki': { cats: [ 8 ], meta: { 'generator': /MediaWiki/i }, diff --git a/drivers/chrome/images/icons/MediaElement.js.png b/drivers/chrome/images/icons/MediaElement.js.png new file mode 100644 index 0000000000000000000000000000000000000000..2b7e74bff27378558e78dd63c3dd506fe0b45272 GIT binary patch literal 862 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GGLLkg|>2BR01_q{% z%#etZ2wxwolpi z<;HsXMd|v6mX?^fAQnIuhb^V9K!L0{RY?%Ivsy)v!eY6JCv{i(`m|;MJguTnz>s zYhLt!`M>`_eUw&A&ZHI&$LbrtbI-&@c2#s`$ZQu1SUFm z$@y$EYn2x<5KLDTXS}+jUXd-qUaNn>qwi8KR!{kqmWJ~_6W6_&v%q^IPsFRf;OJ!y j{0`zvnKJHoHQZti{@yQj#5BhVlmk3n{an^LB{Ts57#j+M literal 0 HcmV?d00001 diff --git a/drivers/chrome/js/apps.js b/drivers/chrome/js/apps.js index d9c061487..2569a1ac0 100644 --- a/drivers/chrome/js/apps.js +++ b/drivers/chrome/js/apps.js @@ -880,6 +880,10 @@ cats: [ 1 ], meta: { 'generator': /MaxSite CMS/i } }, + 'MediaElement.js': { + cats: [ 14 ], + env: /^mejs$/ + }, 'MediaWiki': { cats: [ 8 ], meta: { 'generator': /MediaWiki/i }, diff --git a/drivers/firefox/content/js/apps.js b/drivers/firefox/content/js/apps.js index d9c061487..2569a1ac0 100644 --- a/drivers/firefox/content/js/apps.js +++ b/drivers/firefox/content/js/apps.js @@ -880,6 +880,10 @@ cats: [ 1 ], meta: { 'generator': /MaxSite CMS/i } }, + 'MediaElement.js': { + cats: [ 14 ], + env: /^mejs$/ + }, 'MediaWiki': { cats: [ 8 ], meta: { 'generator': /MediaWiki/i }, diff --git a/drivers/firefox/content/js/content.js b/drivers/firefox/content/js/content.js index 7f8bc44dc..5c6917a4e 100644 --- a/drivers/firefox/content/js/content.js +++ b/drivers/firefox/content/js/content.js @@ -39,7 +39,8 @@ sendAsyncMessage('wappalyzer', { hostname: content.location.hostname, html: html, - url: content.location.href - }); + url: content.location.href, + env: Object.keys(content.wrappedJSObject) + }); } })(); diff --git a/drivers/firefox/skin/images/icons/MediaElement.js.png b/drivers/firefox/skin/images/icons/MediaElement.js.png new file mode 100644 index 0000000000000000000000000000000000000000..2b7e74bff27378558e78dd63c3dd506fe0b45272 GIT binary patch literal 862 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GGLLkg|>2BR01_q{% z%#etZ2wxwolpi z<;HsXMd|v6mX?^fAQnIuhb^V9K!L0{RY?%Ivsy)v!eY6JCv{i(`m|;MJguTnz>s zYhLt!`M>`_eUw&A&ZHI&$LbrtbI-&@c2#s`$ZQu1SUFm z$@y$EYn2x<5KLDTXS}+jUXd-qUaNn>qwi8KR!{kqmWJ~_6W6_&v%q^IPsFRf;OJ!y j{0`zvnKJHoHQZti{@yQj#5BhVlmk3n{an^LB{Ts57#j+M literal 0 HcmV?d00001 diff --git a/drivers/html/images/icons/MediaElement.js.png b/drivers/html/images/icons/MediaElement.js.png new file mode 100644 index 0000000000000000000000000000000000000000..2b7e74bff27378558e78dd63c3dd506fe0b45272 GIT binary patch literal 862 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GGLLkg|>2BR01_q{% z%#etZ2wxwolpi z<;HsXMd|v6mX?^fAQnIuhb^V9K!L0{RY?%Ivsy)v!eY6JCv{i(`m|;MJguTnz>s zYhLt!`M>`_eUw&A&ZHI&$LbrtbI-&@c2#s`$ZQu1SUFm z$@y$EYn2x<5KLDTXS}+jUXd-qUaNn>qwi8KR!{kqmWJ~_6W6_&v%q^IPsFRf;OJ!y j{0`zvnKJHoHQZti{@yQj#5BhVlmk3n{an^LB{Ts57#j+M literal 0 HcmV?d00001 diff --git a/drivers/html/js/apps.js b/drivers/html/js/apps.js index d9c061487..2569a1ac0 100644 --- a/drivers/html/js/apps.js +++ b/drivers/html/js/apps.js @@ -880,6 +880,10 @@ cats: [ 1 ], meta: { 'generator': /MaxSite CMS/i } }, + 'MediaElement.js': { + cats: [ 14 ], + env: /^mejs$/ + }, 'MediaWiki': { cats: [ 8 ], meta: { 'generator': /MediaWiki/i }, diff --git a/drivers/php/js/apps.js b/drivers/php/js/apps.js index d9c061487..2569a1ac0 100644 --- a/drivers/php/js/apps.js +++ b/drivers/php/js/apps.js @@ -880,6 +880,10 @@ cats: [ 1 ], meta: { 'generator': /MaxSite CMS/i } }, + 'MediaElement.js': { + cats: [ 14 ], + env: /^mejs$/ + }, 'MediaWiki': { cats: [ 8 ], meta: { 'generator': /MediaWiki/i }, diff --git a/share/images/icons/MediaElement.js.png b/share/images/icons/MediaElement.js.png new file mode 100644 index 0000000000000000000000000000000000000000..2b7e74bff27378558e78dd63c3dd506fe0b45272 GIT binary patch literal 862 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GGLLkg|>2BR01_q{% z%#etZ2wxwolpi z<;HsXMd|v6mX?^fAQnIuhb^V9K!L0{RY?%Ivsy)v!eY6JCv{i(`m|;MJguTnz>s zYhLt!`M>`_eUw&A&ZHI&$LbrtbI-&@c2#s`$ZQu1SUFm z$@y$EYn2x<5KLDTXS}+jUXd-qUaNn>qwi8KR!{kqmWJ~_6W6_&v%q^IPsFRf;OJ!y j{0`zvnKJHoHQZti{@yQj#5BhVlmk3n{an^LB{Ts57#j+M literal 0 HcmV?d00001 diff --git a/share/js/apps.js b/share/js/apps.js index d9c061487..2569a1ac0 100644 --- a/share/js/apps.js +++ b/share/js/apps.js @@ -880,6 +880,10 @@ cats: [ 1 ], meta: { 'generator': /MaxSite CMS/i } }, + 'MediaElement.js': { + cats: [ 14 ], + env: /^mejs$/ + }, 'MediaWiki': { cats: [ 8 ], meta: { 'generator': /MediaWiki/i },