From 5b32633201fcd90a93af8c6936028145e3d1db62 Mon Sep 17 00:00:00 2001 From: Joe Anzalone Date: Mon, 1 Oct 2012 22:59:06 -0400 Subject: [PATCH 1/2] Properly escaped regex for Outbrain in apps.js --- drivers/bookmarklet/js/apps.js | 4 ++-- drivers/chrome/js/apps.js | 4 ++-- drivers/firefox/content/js/apps.js | 4 ++-- drivers/html/js/apps.js | 4 ++-- drivers/php/js/apps.js | 4 ++-- share/js/apps.js | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/bookmarklet/js/apps.js b/drivers/bookmarklet/js/apps.js index d377d8298..a1d673cf4 100644 --- a/drivers/bookmarklet/js/apps.js +++ b/drivers/bookmarklet/js/apps.js @@ -1048,8 +1048,8 @@ }, 'Outbrain': { cats: [ 5 ], - html: /var OB_langJS = 'http:\/\/widgets.outbrain.com\/lang_/, - script: /http:\/\/widgets.outbrain.com\/outbrain.js/, + html: /var OB_langJS = 'http\:\/\/widgets\.outbrain\.com\/lang_/, + script: /http\:\/\/widgets\.outbrain\.com\/outbrain\.js/, env: /OutbrainPermaLink/ }, 'OXID eShop': { diff --git a/drivers/chrome/js/apps.js b/drivers/chrome/js/apps.js index d377d8298..a1d673cf4 100644 --- a/drivers/chrome/js/apps.js +++ b/drivers/chrome/js/apps.js @@ -1048,8 +1048,8 @@ }, 'Outbrain': { cats: [ 5 ], - html: /var OB_langJS = 'http:\/\/widgets.outbrain.com\/lang_/, - script: /http:\/\/widgets.outbrain.com\/outbrain.js/, + html: /var OB_langJS = 'http\:\/\/widgets\.outbrain\.com\/lang_/, + script: /http\:\/\/widgets\.outbrain\.com\/outbrain\.js/, env: /OutbrainPermaLink/ }, 'OXID eShop': { diff --git a/drivers/firefox/content/js/apps.js b/drivers/firefox/content/js/apps.js index d377d8298..a1d673cf4 100644 --- a/drivers/firefox/content/js/apps.js +++ b/drivers/firefox/content/js/apps.js @@ -1048,8 +1048,8 @@ }, 'Outbrain': { cats: [ 5 ], - html: /var OB_langJS = 'http:\/\/widgets.outbrain.com\/lang_/, - script: /http:\/\/widgets.outbrain.com\/outbrain.js/, + html: /var OB_langJS = 'http\:\/\/widgets\.outbrain\.com\/lang_/, + script: /http\:\/\/widgets\.outbrain\.com\/outbrain\.js/, env: /OutbrainPermaLink/ }, 'OXID eShop': { diff --git a/drivers/html/js/apps.js b/drivers/html/js/apps.js index d377d8298..a1d673cf4 100644 --- a/drivers/html/js/apps.js +++ b/drivers/html/js/apps.js @@ -1048,8 +1048,8 @@ }, 'Outbrain': { cats: [ 5 ], - html: /var OB_langJS = 'http:\/\/widgets.outbrain.com\/lang_/, - script: /http:\/\/widgets.outbrain.com\/outbrain.js/, + html: /var OB_langJS = 'http\:\/\/widgets\.outbrain\.com\/lang_/, + script: /http\:\/\/widgets\.outbrain\.com\/outbrain\.js/, env: /OutbrainPermaLink/ }, 'OXID eShop': { diff --git a/drivers/php/js/apps.js b/drivers/php/js/apps.js index d377d8298..a1d673cf4 100644 --- a/drivers/php/js/apps.js +++ b/drivers/php/js/apps.js @@ -1048,8 +1048,8 @@ }, 'Outbrain': { cats: [ 5 ], - html: /var OB_langJS = 'http:\/\/widgets.outbrain.com\/lang_/, - script: /http:\/\/widgets.outbrain.com\/outbrain.js/, + html: /var OB_langJS = 'http\:\/\/widgets\.outbrain\.com\/lang_/, + script: /http\:\/\/widgets\.outbrain\.com\/outbrain\.js/, env: /OutbrainPermaLink/ }, 'OXID eShop': { diff --git a/share/js/apps.js b/share/js/apps.js index d377d8298..a1d673cf4 100644 --- a/share/js/apps.js +++ b/share/js/apps.js @@ -1048,8 +1048,8 @@ }, 'Outbrain': { cats: [ 5 ], - html: /var OB_langJS = 'http:\/\/widgets.outbrain.com\/lang_/, - script: /http:\/\/widgets.outbrain.com\/outbrain.js/, + html: /var OB_langJS = 'http\:\/\/widgets\.outbrain\.com\/lang_/, + script: /http\:\/\/widgets\.outbrain\.com\/outbrain\.js/, env: /OutbrainPermaLink/ }, 'OXID eShop': { From 63938c2f68cd0a461cb38a70eab2a06655078e50 Mon Sep 17 00:00:00 2001 From: Joe Anzalone Date: Mon, 1 Oct 2012 23:23:18 -0400 Subject: [PATCH 2/2] Adding support for SublimeVideo, tweaking regex on Outbrain's environment variable --- .../bookmarklet/images/icons/SublimeVideo.png | Bin 0 -> 1964 bytes drivers/bookmarklet/js/apps.js | 7 ++++++- drivers/chrome/images/icons/SublimeVideo.png | Bin 0 -> 1964 bytes drivers/chrome/js/apps.js | 7 ++++++- drivers/firefox/content/js/apps.js | 7 ++++++- .../firefox/skin/images/icons/SublimeVideo.png | Bin 0 -> 1964 bytes drivers/html/images/icons/SublimeVideo.png | Bin 0 -> 1964 bytes drivers/html/js/apps.js | 7 ++++++- drivers/php/js/apps.js | 7 ++++++- share/images/icons/SublimeVideo.png | Bin 0 -> 1964 bytes share/js/apps.js | 7 ++++++- 11 files changed, 36 insertions(+), 6 deletions(-) create mode 100644 drivers/bookmarklet/images/icons/SublimeVideo.png create mode 100644 drivers/chrome/images/icons/SublimeVideo.png create mode 100644 drivers/firefox/skin/images/icons/SublimeVideo.png create mode 100644 drivers/html/images/icons/SublimeVideo.png create mode 100644 share/images/icons/SublimeVideo.png diff --git a/drivers/bookmarklet/images/icons/SublimeVideo.png b/drivers/bookmarklet/images/icons/SublimeVideo.png new file mode 100644 index 0000000000000000000000000000000000000000..d118ce5c1327e315c5f855b4d4ca9c2001e856bb GIT binary patch literal 1964 zcmV;d2UGZoP)4Tx05}naRo`#hR1`jmZ&IWdKOk5~hl<6oRa0BJ8yc;~21%2p?MfD<>DVeH z9(p*dx19w`~g7O0}n_%Aq@s%d)fBDv`JHkDym6Hd+5XuAtvnwRpGmK zVkc9?T=n|PIo~X-eVh__(Z?q}P9Z-Dj?gOW6|D%o20XmjW-qs4UjrD(li^iv8@eK9k+ZFm zVRFymFOPAzG5-%Pn|1W;U4vNroTa&AxDScmEA~{ri9gr1^c?U@uwSpaNnw8l_>cP1 zd;)kMQS_;jeRSUEM_*s96y65j1$)tOrwdK{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