From d474db6c1e90b03d7a1620aa1db3e23ea34eccca Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Fri, 22 Jan 2016 00:11:06 +0100 Subject: [PATCH] Use HTTPS where possible This forces the use of HTTPS for Browserscope. --- plugin/ui.browserscope.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/plugin/ui.browserscope.js b/plugin/ui.browserscope.js index 8ba0c3f5..ac3af586 100644 --- a/plugin/ui.browserscope.js +++ b/plugin/ui.browserscope.js @@ -13,7 +13,7 @@ /** * Used to filter Browserscope results by browser category. * - * @see http://www.browserscope.org/user/tests/howto#urlparams + * @see https://www.browserscope.org/user/tests/howto#urlparams */ var filterMap = { 'all': 3, @@ -106,7 +106,7 @@ */ function createStyleSheet(cssText, context) { // use a text node, "x", to work around innerHTML issues with style elements - // http://msdn.microsoft.com/en-us/library/ms533897(v=vs.85).aspx#1 + // https://msdn.microsoft.com/en-us/library/ms533897.aspx var div = createElement('div', context); div.innerHTML = 'x'; return div.lastChild; @@ -504,7 +504,7 @@ * @private * @param {string} text The text to be converted. * @returns {string} The Browserscope safe label text. - * @see http://code.google.com/p/browserscope/issues/detail?id=271 + * @see https://code.google.com/p/browserscope/issues/detail?id=271 */ function toLabel(text) { return (text || '').replace(/[^a-z0-9]+/gi, ' '); @@ -626,7 +626,7 @@ '_bC=function(){clearTimeout(_bT);parent.setTimeout(function(){purge();load()},${refresh}*1e3)},' + '_bT=setTimeout(function(){_bC=function(){};render()},${timeout}*1e3)' + '}<\/script>' + - '