diff --git a/i18n/bg.json b/i18n/bg.json index 07a929c..3c8baa5 100644 --- a/i18n/bg.json +++ b/i18n/bg.json @@ -155,7 +155,6 @@ "Could not get paste data: %s": "Взимането на информацията беше неуспешно: %s", "QR code": "QR код", - "I love you too, bot…": "И аз те обичам, бот…", "This website is using an insecure HTTP connection! Please use it only for testing.": "Този сайт използва несигурна HTTP връзка. Моля използвайте само за проби.", "For more information see this FAQ entry.": diff --git a/i18n/cs.json b/i18n/cs.json index 365d611..bb6c4e7 100644 --- a/i18n/cs.json +++ b/i18n/cs.json @@ -155,7 +155,6 @@ "Could not get paste data: %s": "Could not get paste data: %s", "QR code": "QR code", - "I love you too, bot…": "I love you too, bot…", "This website is using an insecure HTTP connection! Please use it only for testing.": "This website is using an insecure HTTP connection! Please use it only for testing.", "For more information see this FAQ entry.": diff --git a/i18n/de.json b/i18n/de.json index a89f820..1aae91b 100644 --- a/i18n/de.json +++ b/i18n/de.json @@ -155,7 +155,6 @@ "Could not get paste data: %s": "Text konnte nicht geladen werden: %s", "QR code": "QR code", - "I love you too, bot…": "Ich mag Dich auch, bot…", "This website is using an insecure HTTP connection! Please use it only for testing.": "Diese Webseite verwendet eine unsichere HTTP Verbindung! Bitte benutze sie nur zum Testen.", "For more information see this FAQ entry.": diff --git a/i18n/es.json b/i18n/es.json index de6fa54..e720c42 100644 --- a/i18n/es.json +++ b/i18n/es.json @@ -155,7 +155,6 @@ "Could not get paste data: %s": "No se pudieron obtener los datos: %s", "QR code": "Código QR", - "I love you too, bot…": "I love you too, bot…", "This website is using an insecure HTTP connection! Please use it only for testing.": "This website is using an insecure HTTP connection! Please use it only for testing.", "For more information see this FAQ entry.": diff --git a/i18n/fr.json b/i18n/fr.json index bebd185..169cd6c 100644 --- a/i18n/fr.json +++ b/i18n/fr.json @@ -164,7 +164,6 @@ "Could not get paste data: %s": "Impossible d'obtenir les données du paste: %s", "QR code": "QR code", - "I love you too, bot…": "Je t’aime aussi, bot…", "This website is using an insecure HTTP connection! Please use it only for testing.": "Ce site web utilise une connexion HTTP non sécurisée ! Veuillez l’utiliser uniquement pour des tests.", "For more information see this FAQ entry.": diff --git a/i18n/hu.json b/i18n/hu.json index cf1fe02..023288e 100644 --- a/i18n/hu.json +++ b/i18n/hu.json @@ -155,7 +155,6 @@ "Could not get paste data: %s": "Could not get paste data: %s", "QR code": "QR code", - "I love you too, bot…": "I love you too, bot…", "This website is using an insecure HTTP connection! Please use it only for testing.": "This website is using an insecure HTTP connection! Please use it only for testing.", "For more information see this FAQ entry.": diff --git a/i18n/it.json b/i18n/it.json index 22f6838..a6f066d 100644 --- a/i18n/it.json +++ b/i18n/it.json @@ -155,7 +155,6 @@ "Could not get paste data: %s": "Could not get paste data: %s", "QR code": "QR code", - "I love you too, bot…": "I love you too, bot…", "This website is using an insecure HTTP connection! Please use it only for testing.": "This website is using an insecure HTTP connection! Please use it only for testing.", "For more information see this FAQ entry.": diff --git a/i18n/nl.json b/i18n/nl.json index 00aea3b..d1a7587 100644 --- a/i18n/nl.json +++ b/i18n/nl.json @@ -155,7 +155,6 @@ "Could not get paste data: %s": "Could not get paste data: %s", "QR code": "QR code", - "I love you too, bot…": "I love you too, bot…", "This website is using an insecure HTTP connection! Please use it only for testing.": "This website is using an insecure HTTP connection! Please use it only for testing.", "For more information see this FAQ entry.": diff --git a/i18n/no.json b/i18n/no.json index 9d76c96..e1ec55e 100644 --- a/i18n/no.json +++ b/i18n/no.json @@ -155,7 +155,6 @@ "Could not get paste data: %s": "Kunne ikke hente utklippsdata: %s", "QR code": "QR kode", - "I love you too, bot…": "Jeg elsker deg også, bot…", "This website is using an insecure HTTP connection! Please use it only for testing.": "Denne websiden bruker usikker HTTP tilkobling! Bruk den kun for testing.", "For more information see this FAQ entry.": diff --git a/i18n/oc.json b/i18n/oc.json index 6cd33ca..419b263 100644 --- a/i18n/oc.json +++ b/i18n/oc.json @@ -164,7 +164,6 @@ "Could not get paste data: %s": "Recuperacion impossibla de las donadas copiadas : %s", "QR code": "Còdi QR", - "I love you too, bot…": "T’aimi tanben, robòt…", "This website is using an insecure HTTP connection! Please use it only for testing.": "Aqueste site utiliza una connexion HTTP pas segura ! Mercés de l’utilizar pas que per d’ensages.", "For more information see this FAQ entry.": diff --git a/i18n/pl.json b/i18n/pl.json index 3be5baa..355f468 100644 --- a/i18n/pl.json +++ b/i18n/pl.json @@ -155,7 +155,6 @@ "Could not get paste data: %s": "Nie można było pobrać danych wklejki: %s", "QR code": "Kod QR", - "I love you too, bot…": "I love you too, bot…", "This website is using an insecure HTTP connection! Please use it only for testing.": "This website is using an insecure HTTP connection! Please use it only for testing.", "For more information see this FAQ entry.": diff --git a/i18n/pt.json b/i18n/pt.json index 3ff603e..dd041d1 100644 --- a/i18n/pt.json +++ b/i18n/pt.json @@ -155,7 +155,6 @@ "Could not get paste data: %s": "Could not get paste data: %s", "QR code": "QR code", - "I love you too, bot…": "I love you too, bot…", "This website is using an insecure HTTP connection! Please use it only for testing.": "This website is using an insecure HTTP connection! Please use it only for testing.", "For more information see this FAQ entry.": diff --git a/i18n/ru.json b/i18n/ru.json index 66d413c..988aae9 100644 --- a/i18n/ru.json +++ b/i18n/ru.json @@ -165,7 +165,6 @@ "Could not get paste data: %s": "Не удалось получить данные записи: %s", "QR code": "QR код", - "I love you too, bot…": "Я тоже люблю тебя, бот…", "This website is using an insecure HTTP connection! Please use it only for testing.": "Данный сайт использует незащищенное HTTP подключение! Пожалуйста используйте его только для тестирования.", "For more information see this FAQ entry.": diff --git a/i18n/sl.json b/i18n/sl.json index 5e61d19..00cd1d6 100644 --- a/i18n/sl.json +++ b/i18n/sl.json @@ -164,7 +164,6 @@ "Could not get paste data: %s": "Could not get paste data: %s", "QR code": "QR code", - "I love you too, bot…": "I love you too, bot…", "This website is using an insecure HTTP connection! Please use it only for testing.": "This website is using an insecure HTTP connection! Please use it only for testing.", "For more information see this FAQ entry.": diff --git a/i18n/zh.json b/i18n/zh.json index 2577b55..e1cc094 100644 --- a/i18n/zh.json +++ b/i18n/zh.json @@ -155,7 +155,6 @@ "Could not get paste data: %s": "无法获取粘贴数据:%s", "QR code": "二维码", - "I love you too, bot…": "I love you too, bot…", "This website is using an insecure HTTP connection! Please use it only for testing.": "This website is using an insecure HTTP connection! Please use it only for testing.", "For more information see this FAQ entry.": diff --git a/js/legacy.js b/js/legacy.js index 64f565a..1d162b5 100644 --- a/js/legacy.js +++ b/js/legacy.js @@ -266,12 +266,7 @@ if (isOldBrowser()) { // some browsers (Chrome based ones) would have webcrypto support if using HTTPS if (!isSecureContext()) { - showError( - 'Your browser may require an HTTPS connection to support the WebCrypto API. Try switching to HTTPS.'.replace( - '%s', - 'https' + window.location.href.slice(4) - ) - ); + removeHiddenFromId('insecurecontextnotice'); } removeHiddenFromId('oldnotice'); init = true; diff --git a/js/test/Check.js b/js/test/Check.js index b04839a..bf4299b 100644 --- a/js/test/Check.js +++ b/js/test/Check.js @@ -42,7 +42,8 @@ describe('Check', function () { isSecureContext = secureProtocol || !isDomain || tld.length > 0, clean = jsdom( '
' + - '', + '' + + '