commit
def6199982
@ -16,8 +16,8 @@
|
||||
"message": "Hilfe oder Probleme?"
|
||||
},
|
||||
"negativeText": {
|
||||
"description": "Ups! Wir entschuldigen uns für die Unannehmlichkeiten, bitte <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">kontaktieren Sie uns</a> <span aria-label=\"Grinsendes Gesicht mit Schweiß\" role=\"img\">😅</span>",
|
||||
"message": "Ups! Wir entschuldigen uns für die Unannehmlichkeiten, bitte <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">kontaktieren Sie uns</a> <span aria-label=\"Grinsendes Gesicht mit Schweiß\" role=\"img\">😅</span>"
|
||||
"description": "Ups! Wir entschuldigen uns für die Unannehmlichkeiten, bitte <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">kontaktieren Sie uns</a> <span aria-label=\"Grinsendes Gesicht mit Schweiß\" role=\"img\">😅</span>",
|
||||
"message": "Ups! Wir entschuldigen uns für die Unannehmlichkeiten, bitte <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">kontaktieren Sie uns</a> <span aria-label=\"Grinsendes Gesicht mit Schweiß\" role=\"img\">😅</span>"
|
||||
},
|
||||
"positiveText": {
|
||||
"description": "Dankeschön! Bitte bewerten Sie unsere Erweiterung <a id=\"store\" target=\"_blank\">hier</a> <span aria-label=\"Lächelndes Gesicht mit herzförmigen Augen\" role=\"img\">😍</span>",
|
||||
|
@ -16,8 +16,8 @@
|
||||
"message": "Help or issues?"
|
||||
},
|
||||
"negativeText": {
|
||||
"description": "Ooops! We apologize for the inconvenience, please <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">contact us</a> <span aria-label=\"Grinning face with sweat\" role=\"img\">😅</span>",
|
||||
"message": "Ooops! We apologize for the inconvenience, please <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">contact us</a> <span aria-label=\"Grinning face with sweat\" role=\"img\">😅</span>"
|
||||
"description": "Ooops! We apologize for the inconvenience, please <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">contact us</a> <span aria-label=\"Grinning face with sweat\" role=\"img\">😅</span>",
|
||||
"message": "Ooops! We apologize for the inconvenience, please <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">contact us</a> <span aria-label=\"Grinning face with sweat\" role=\"img\">😅</span>"
|
||||
},
|
||||
"positiveText": {
|
||||
"description": "Thank you! Please rate our extension <a id=\"store\" target=\"_blank\">here</a> <span aria-label=\"Smiling face with heart-shaped eyes\" role=\"img\">😍</span>",
|
||||
|
@ -16,8 +16,8 @@
|
||||
"message": "¿Ayuda o problemas?"
|
||||
},
|
||||
"negativeText": {
|
||||
"description": "¡Vaya! Sentimos lo ocurrido, por favor <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">contacta con nosotros</a> <span aria-label=\"Cara sonriente con sudor\" role=\"img\">😅</span>",
|
||||
"message": "¡Vaya! Sentimos lo ocurrido, por favor <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">contacta con nosotros</a> <span aria-label=\"Cara sonriente con sudor\" role=\"img\">😅</span>"
|
||||
"description": "¡Vaya! Sentimos lo ocurrido, por favor <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">contacta con nosotros</a> <span aria-label=\"Cara sonriente con sudor\" role=\"img\">😅</span>",
|
||||
"message": "¡Vaya! Sentimos lo ocurrido, por favor <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">contacta con nosotros</a> <span aria-label=\"Cara sonriente con sudor\" role=\"img\">😅</span>"
|
||||
},
|
||||
"positiveText": {
|
||||
"description": "¡Gracias! Por favor valora la extensión <a id=\"store\" target=\"_blank\">aquí</a> <span aria-label=\"Cara sonriente con ojos en forma de corazón\" role=\"img\">😍</span>",
|
||||
|
@ -16,8 +16,8 @@
|
||||
"message": "Aide ou problèmes?"
|
||||
},
|
||||
"negativeText": {
|
||||
"description": "Oups! Nous nous excusons pour la gêne occasionnée, veuillez <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">nous contacter</a> <span aria-label=\"Visage souriant de sueur\" role=\"img\">😅</span>",
|
||||
"message": "Oups! Nous nous excusons pour la gêne occasionnée, veuillez <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">nous contacter</a> <span aria-label=\"Visage souriant de sueur\" role=\"img\">😅</span>"
|
||||
"description": "Oups! Nous nous excusons pour la gêne occasionnée, veuillez <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">nous contacter</a> <span aria-label=\"Visage souriant de sueur\" role=\"img\">😅</span>",
|
||||
"message": "Oups! Nous nous excusons pour la gêne occasionnée, veuillez <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">nous contacter</a> <span aria-label=\"Visage souriant de sueur\" role=\"img\">😅</span>"
|
||||
},
|
||||
"positiveText": {
|
||||
"description": "Merci! Veuillez évaluer notre extension <a id=\"store\" target=\"_blank\">ici</a> <span aria-label=\"Visage souriant avec des yeux en forme de coeur\" role=\"img\">😍</span>",
|
||||
|
@ -16,8 +16,8 @@
|
||||
"message": "Aiuto o problemi?"
|
||||
},
|
||||
"negativeText": {
|
||||
"description": "Ops! Ci scusiamo per l'inconveniente, per favore <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">contattaci</a> <span aria-label=\"Faccina sorridente con il sudore\" role=\"img\">😅</span>",
|
||||
"message": "Ops! Ci scusiamo per l'inconveniente, per favore <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">contattaci</a> <span aria-label=\"Faccina sorridente con il sudore\" role=\"img\">😅</span>"
|
||||
"description": "Ops! Ci scusiamo per l'inconveniente, per favore <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">contattaci</a> <span aria-label=\"Faccina sorridente con il sudore\" role=\"img\">😅</span>",
|
||||
"message": "Ops! Ci scusiamo per l'inconveniente, per favore <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">contattaci</a> <span aria-label=\"Faccina sorridente con il sudore\" role=\"img\">😅</span>"
|
||||
},
|
||||
"positiveText": {
|
||||
"description": "Grazie! Valuta la nostra estensione <a id=\"store\" target=\"_blank\">qui</a> <span aria-label=\"Faccina sorridente con occhi a forma di cuore\" role=\"img\">😍</span>",
|
||||
|
@ -16,8 +16,8 @@
|
||||
"message": "Ajuda ou problemas?"
|
||||
},
|
||||
"negativeText": {
|
||||
"description": "Opa! Pedimos desculpas pelo transtorno, <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">entre em contato conosco</a> <span aria-label=\"Rosto sorridente com suor\" role=\"img\">😅</span>",
|
||||
"message": "Opa! Pedimos desculpas pelo transtorno, <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">entre em contato conosco</a> <span aria-label=\"Rosto sorridente com suor\" role=\"img\">😅</span>"
|
||||
"description": "Opa! Pedimos desculpas pelo transtorno, <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">entre em contato conosco</a> <span aria-label=\"Rosto sorridente com suor\" role=\"img\">😅</span>",
|
||||
"message": "Opa! Pedimos desculpas pelo transtorno, <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">entre em contato conosco</a> <span aria-label=\"Rosto sorridente com suor\" role=\"img\">😅</span>"
|
||||
},
|
||||
"positiveText": {
|
||||
"description": "Obrigado! Avalie nossa extensão <a id=\"store\" target=\"_blank\">aqui</a> <span aria-label=\"Rosto sorridente com olhos em formato de coração\" role =\"img\">😍</span>",
|
||||
|
@ -16,8 +16,8 @@
|
||||
"message": "Ajuda ou problemas?"
|
||||
},
|
||||
"negativeText": {
|
||||
"description": "Opa! Pedimos desculpas pelo transtorno, <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">entre em contato conosco</a> <span aria-label=\"Rosto sorridente com suor\" role=\"img\">😅</span>",
|
||||
"message": "Opa! Pedimos desculpas pelo transtorno, <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">entre em contato conosco</a> <span aria-label=\"Rosto sorridente com suor\" role=\"img\">😅</span>"
|
||||
"description": "Opa! Pedimos desculpas pelo transtorno, <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">entre em contato conosco</a> <span aria-label=\"Rosto sorridente com suor\" role=\"img\">😅</span>",
|
||||
"message": "Opa! Pedimos desculpas pelo transtorno, <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">entre em contato conosco</a> <span aria-label=\"Rosto sorridente com suor\" role=\"img\">😅</span>"
|
||||
},
|
||||
"positiveText": {
|
||||
"description": "Obrigado! Avalie nossa extensão <a id=\"store\" target=\"_blank\">aqui</a> <span aria-label=\"Rosto sorridente com olhos em formato de coração\" role =\"img\">😍</span>",
|
||||
|
@ -16,8 +16,8 @@
|
||||
"message": "Ajutor sau probleme?"
|
||||
},
|
||||
"negativeText": {
|
||||
"description": "Hopa! Ne cerem scuze pentru inconvenient, vă rugăm să ne <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">contactați-ne</a> <span aria-label=\"Chipul rânjit de sudoare\" role=\"img\">😅</span>",
|
||||
"message": "Hopa! Ne cerem scuze pentru inconvenient, vă rugăm să ne <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">contactați-ne</a> <span aria-label=\"Chipul rânjit de sudoare\" role=\"img\">😅</span>"
|
||||
"description": "Hopa! Ne cerem scuze pentru inconvenient, vă rugăm să ne <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">contactați-ne</a> <span aria-label=\"Chipul rânjit de sudoare\" role=\"img\">😅</span>",
|
||||
"message": "Hopa! Ne cerem scuze pentru inconvenient, vă rugăm să ne <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">contactați-ne</a> <span aria-label=\"Chipul rânjit de sudoare\" role=\"img\">😅</span>"
|
||||
},
|
||||
"positiveText": {
|
||||
"description": "Mulțumesc! Vă rugăm să evaluați extensia noastră <a id=\"store\" target=\"_blank\">aici</a> <span aria-label=\"Față zâmbitoare cu ochi în formă de inimă\" role=\"img\">😍</span>",
|
||||
|
@ -16,8 +16,8 @@
|
||||
"message": "Помощь или проблемы?"
|
||||
},
|
||||
"negativeText": {
|
||||
"description": "Ой! Приносим извинения за неудобства, пожалуйста, <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">свяжитесь с нами</a> <span aria-label=\"Улыбающееся лицо от пота\" role=\"img\">😅</span>",
|
||||
"message": "Ой! Приносим извинения за неудобства, пожалуйста, <a href=\"mailto:wanhose.development@gmail.com\" target=\"_blank\">свяжитесь с нами</a> <span aria-label=\"Улыбающееся лицо от пота\" role=\"img\">😅</span>"
|
||||
"description": "Ой! Приносим извинения за неудобства, пожалуйста, <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">свяжитесь с нами</a> <span aria-label=\"Улыбающееся лицо от пота\" role=\"img\">😅</span>",
|
||||
"message": "Ой! Приносим извинения за неудобства, пожалуйста, <a href=\"mailto:hello@wanhose.dev\" target=\"_blank\">свяжитесь с нами</a> <span aria-label=\"Улыбающееся лицо от пота\" role=\"img\">😅</span>"
|
||||
},
|
||||
"positiveText": {
|
||||
"description": "Спасибо! Пожалуйста, оцените наше расширение <a id=\"store\" target=\"_blank\">здесь</a> <span aria-label=\"Улыбающееся лицо с глазами-сердечками\" role=\"img\">😍</span>",
|
||||
|
@ -86,7 +86,7 @@
|
||||
</div>
|
||||
<div class="help">
|
||||
<span data-i18n="helpText"></span>
|
||||
<a href="mailto:wanhose.development@gmail.com" target="_blank">
|
||||
<a href="mailto:hello@wanhose.dev" target="_blank">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
|
@ -167,7 +167,7 @@ const report = () => {
|
||||
fetch(`${apiUrl}/report/`, {
|
||||
body: JSON.stringify({
|
||||
html: `<b>Browser:</b> ${userAgent}<br/><b>Site:</b> ${tab.url}<br/><b>Version:</b> ${version}`,
|
||||
to: 'wanhose.development@gmail.com',
|
||||
to: 'hello@wanhose.dev',
|
||||
subject: 'Cookie Dialog Monster Report',
|
||||
}),
|
||||
headers: {
|
||||
|
@ -14,6 +14,15 @@ const chromeUrl = 'https://chrome.google.com/webstore/detail/djcbfpkdhdkaflcigib
|
||||
|
||||
const dispatch = chrome.runtime.sendMessage;
|
||||
|
||||
/**
|
||||
* @constant edgeUrl
|
||||
* @description Edge Add-ons link
|
||||
* @type {string}
|
||||
*/
|
||||
|
||||
const edgeUrl =
|
||||
'https://microsoftedge.microsoft.com/addons/detail/hbogodfciblakeneadpcolhmfckmjcii';
|
||||
|
||||
/**
|
||||
* @constant firefoxUrl
|
||||
* @description Firefox Add-ons link
|
||||
@ -28,7 +37,23 @@ const firefoxUrl = 'https://addons.mozilla.org/es/firefox/addon/cookie-dialog-mo
|
||||
* @type {boolean}
|
||||
*/
|
||||
|
||||
const isChromium = chrome.runtime.getURL('').startsWith('chrome-extension://');
|
||||
const isChromium = navigator.userAgent.indexOf('Chrome') !== -1;
|
||||
|
||||
/**
|
||||
* @constant isEdge
|
||||
* @description Is current browser an instance of Edge?
|
||||
* @type {boolean}
|
||||
*/
|
||||
|
||||
const isEdge = navigator.userAgent.indexOf('Edg') !== -1;
|
||||
|
||||
/**
|
||||
* @constant isFirefox
|
||||
* @description Is current browser an instance of Firefox?
|
||||
* @type {boolean}
|
||||
*/
|
||||
|
||||
const isFirefox = navigator.userAgent.indexOf('Firefox') !== -1;
|
||||
|
||||
/**
|
||||
* @description Disables or enables extension on current page
|
||||
@ -95,7 +120,9 @@ const handleContentLoaded = () => {
|
||||
like.addEventListener('click', handleRate);
|
||||
power.addEventListener('change', handlePowerChange);
|
||||
reload.addEventListener('click', handleReload);
|
||||
store.setAttribute('href', isChromium ? chromeUrl : firefoxUrl);
|
||||
if (isEdge) store.setAttribute('href', edgeUrl);
|
||||
else if (isChromium) store.setAttribute('href', chromeUrl);
|
||||
else if (isFirefox) store.setAttribute('href', firefoxUrl);
|
||||
unlike.addEventListener('click', handleRate);
|
||||
if (location) host.innerText = hostname.replace('www.', '');
|
||||
if (!enabled) power.removeAttribute('checked');
|
||||
|
Loading…
Reference in New Issue
Block a user