remove 'dysfunctional' page
This commit is contained in:
parent
3418ac9cb9
commit
28e9e38dad
|
@ -436,10 +436,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "Stylus nemůže fungovat v soukromém okně, protože Firefox znemožňuje přímou komunikaci s interní kontextovou stránkou rozšíření na pozadí.",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"styleSectionsTitle": {
|
"styleSectionsTitle": {
|
||||||
"message": "Sekce",
|
"message": "Sekce",
|
||||||
"description": "Title for the style sections section"
|
"description": "Title for the style sections section"
|
||||||
|
@ -690,10 +686,6 @@
|
||||||
"message": "Celkový počet stránek",
|
"message": "Celkový počet stránek",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "Známá chyba v této verzi Firefoxu znemožňuje práci rozšíření. Chyba: chrome.extension.getBackgroundPage() nevrací platný výsledek",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"checkingForUpdate": {
|
"checkingForUpdate": {
|
||||||
"message": "Kontrola…",
|
"message": "Kontrola…",
|
||||||
"description": "Text to display when checking a style for an update"
|
"description": "Text to display when checking a style for an update"
|
||||||
|
|
|
@ -452,10 +452,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "Stylus funktioniert in privaten Fenstern nicht, weil Firefox hier Direktverbindungen zur internen Hintergrundseite der Erweiterung nicht zulässt.",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"styleSectionsTitle": {
|
"styleSectionsTitle": {
|
||||||
"message": "Bereiche",
|
"message": "Bereiche",
|
||||||
"description": "Title for the style sections section"
|
"description": "Title for the style sections section"
|
||||||
|
@ -710,10 +706,6 @@
|
||||||
"message": "Gesamtzahl der Seiten",
|
"message": "Gesamtzahl der Seiten",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "Funktioniert nicht richtig aufgrund eines bekannten Bugs in dieser Version von Firefox: chrome.extension.getBackgroundPage() gibt keinen gültigen Wert zurück",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"checkingForUpdate": {
|
"checkingForUpdate": {
|
||||||
"message": "Suche nach Updates...",
|
"message": "Suche nach Updates...",
|
||||||
"description": "Text to display when checking a style for an update"
|
"description": "Text to display when checking a style for an update"
|
||||||
|
|
|
@ -198,14 +198,6 @@
|
||||||
"configOnChangeTooltip": {
|
"configOnChangeTooltip": {
|
||||||
"message": "Autosave and apply changes automatically"
|
"message": "Autosave and apply changes automatically"
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "Stylus cannot function in private windows because Firefox disallows direct connection to the internal background page context of the extension.",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "Cannot function properly because of a known bug in this version of Firefox: chrome.extension.getBackgroundPage() doesn't return a valid result",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"genericError": {
|
"genericError": {
|
||||||
"message": "Error",
|
"message": "Error",
|
||||||
"description": "Used in various places to indicate some error occurred."
|
"description": "Used in various places to indicate some error occurred."
|
||||||
|
|
|
@ -464,10 +464,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "Stylus no puede funcionar en ventanas privadas porque Firefox no permite conexión directa al contexto de la página de entorno interna de la extensión.",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"styleSectionsTitle": {
|
"styleSectionsTitle": {
|
||||||
"message": "Secciones",
|
"message": "Secciones",
|
||||||
"description": "Title for the style sections section"
|
"description": "Title for the style sections section"
|
||||||
|
@ -726,10 +722,6 @@
|
||||||
"message": "Páginas totales",
|
"message": "Páginas totales",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "No puede funcionar adecuadamente a causa de un fallo conocido en esta versión de Firefox: chrome.extension.getBackgroundPage() no devuelve un resultado válido.",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"checkingForUpdate": {
|
"checkingForUpdate": {
|
||||||
"message": "Buscando...",
|
"message": "Buscando...",
|
||||||
"description": "Text to display when checking a style for an update"
|
"description": "Text to display when checking a style for an update"
|
||||||
|
|
|
@ -432,10 +432,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "Stylus ei saa privaatsetes akendes töötada, sest Firefox ei luba otseühendust laienduse sisemisele taustalehe kontekstile.",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"styleSectionsTitle": {
|
"styleSectionsTitle": {
|
||||||
"message": "Jaotised",
|
"message": "Jaotised",
|
||||||
"description": "Title for the style sections section"
|
"description": "Title for the style sections section"
|
||||||
|
@ -674,10 +670,6 @@
|
||||||
"message": "Lehti kokku",
|
"message": "Lehti kokku",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "Ei saa korralikult töötada, sest selles Firefoxi versioonis on tuntud viga: chrome.extension.getBackgroundPage() ei tagasta kehtivat tulemit",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"checkingForUpdate": {
|
"checkingForUpdate": {
|
||||||
"message": "Kontrollin...",
|
"message": "Kontrollin...",
|
||||||
"description": "Text to display when checking a style for an update"
|
"description": "Text to display when checking a style for an update"
|
||||||
|
|
|
@ -440,10 +440,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "A Stylus nem működhet privát ablakokon belül, mert a Firefox nem enged közvetlen kapcsolatot a kiegészítő belső háttéroldal-kontextusával.",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"styleSectionsTitle": {
|
"styleSectionsTitle": {
|
||||||
"message": "Szekciók",
|
"message": "Szekciók",
|
||||||
"description": "Title for the style sections section"
|
"description": "Title for the style sections section"
|
||||||
|
@ -690,10 +686,6 @@
|
||||||
"message": "Összes oldal",
|
"message": "Összes oldal",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "Nem mőködhet megfelelően egy ebben a verzióban található ismert hiba miatt: chrome.extension.getBackgroundPage() eredménye nem érvényes",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"checkingForUpdate": {
|
"checkingForUpdate": {
|
||||||
"message": "Ellenőrzés...",
|
"message": "Ellenőrzés...",
|
||||||
"description": "Text to display when checking a style for an update"
|
"description": "Text to display when checking a style for an update"
|
||||||
|
|
|
@ -286,10 +286,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "Stylus non può funzionare in finestre anonime perché Firefox disattiva la connessione diretta al contesto della pagina di background interna dell'estensione.",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"styleSectionsTitle": {
|
"styleSectionsTitle": {
|
||||||
"message": "Sezioni",
|
"message": "Sezioni",
|
||||||
"description": "Title for the style sections section"
|
"description": "Title for the style sections section"
|
||||||
|
@ -432,10 +428,6 @@
|
||||||
"message": "Aggiornamento completato.",
|
"message": "Aggiornamento completato.",
|
||||||
"description": "Text that displays when an update completed"
|
"description": "Text that displays when an update completed"
|
||||||
},
|
},
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "Non può funzionare correttamente a causa di un bug conosciuto in questa versione di Firefox: chrome.extension.getBackgroundPage() non restituisce un risultato valido",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"checkingForUpdate": {
|
"checkingForUpdate": {
|
||||||
"message": "Verifica in corso...",
|
"message": "Verifica in corso...",
|
||||||
"description": "Text to display when checking a style for an update"
|
"description": "Text to display when checking a style for an update"
|
||||||
|
|
|
@ -464,10 +464,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "Stylusはプライベートウィンドウでは機能しません。これは、Firefoxが拡張機能の内部のバックグラウンドページに直接接続することを禁止しているためです。",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"styleSectionsTitle": {
|
"styleSectionsTitle": {
|
||||||
"message": "セクション",
|
"message": "セクション",
|
||||||
"description": "Title for the style sections section"
|
"description": "Title for the style sections section"
|
||||||
|
@ -722,10 +718,6 @@
|
||||||
"message": "総ページ数",
|
"message": "総ページ数",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "このバージョンのFirefoxの次の既知のバグのために正常に機能しません: chrome.extension.getBackgroundPage() が正しい結果を返しません",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"checkingForUpdate": {
|
"checkingForUpdate": {
|
||||||
"message": "チェック中...",
|
"message": "チェック中...",
|
||||||
"description": "Text to display when checking a style for an update"
|
"description": "Text to display when checking a style for an update"
|
||||||
|
|
|
@ -464,10 +464,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "Stylus nie może działać w oknach prywatnych, ponieważ Firefox zakazuje bezpośredniego połączenia z kontekstem wewnętrznej strony tła rozszerzenia.",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"styleSectionsTitle": {
|
"styleSectionsTitle": {
|
||||||
"message": "Sekcje",
|
"message": "Sekcje",
|
||||||
"description": "Title for the style sections section"
|
"description": "Title for the style sections section"
|
||||||
|
@ -726,10 +722,6 @@
|
||||||
"message": "Wszystkie strony",
|
"message": "Wszystkie strony",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "Nie działa prawidłowo ze względu na znany błąd w tej wersji Firefoksa: chrome.extension.getBackgroundPage() nie zwraca prawidłowego wyniku",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"checkingForUpdate": {
|
"checkingForUpdate": {
|
||||||
"message": "Sprawdzanie...",
|
"message": "Sprawdzanie...",
|
||||||
"description": "Text to display when checking a style for an update"
|
"description": "Text to display when checking a style for an update"
|
||||||
|
|
|
@ -424,10 +424,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "Stylus nu poate funcționa în window-uri private deoarece Firefox nu permite o conexiune directă la conținutul paginii.",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"styleSectionsTitle": {
|
"styleSectionsTitle": {
|
||||||
"message": "Secțiuni",
|
"message": "Secțiuni",
|
||||||
"description": "Title for the style sections section"
|
"description": "Title for the style sections section"
|
||||||
|
@ -674,10 +670,6 @@
|
||||||
"message": "Număr total de pagini",
|
"message": "Număr total de pagini",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "Funționarea nu este posibilă din cauza unui bug cunoscut în Firefox : chrome.extension.getBackgroundPage() nu returnează o valoare validă",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"checkingForUpdate": {
|
"checkingForUpdate": {
|
||||||
"message": "Verficare...",
|
"message": "Verficare...",
|
||||||
"description": "Text to display when checking a style for an update"
|
"description": "Text to display when checking a style for an update"
|
||||||
|
|
|
@ -468,10 +468,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "Стилус не работает в приватном окне, т.к. браузер Firefox не разрешает прямое соединение с внутренним контекстом фоновой страницы расширения.",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"styleSectionsTitle": {
|
"styleSectionsTitle": {
|
||||||
"message": "Разделы",
|
"message": "Разделы",
|
||||||
"description": "Title for the style sections section"
|
"description": "Title for the style sections section"
|
||||||
|
@ -730,10 +726,6 @@
|
||||||
"message": "Всего страниц",
|
"message": "Всего страниц",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "Функционирование невозможно из-за известной ошибки в вашей версии браузера: chrome.extension.getBackgroundPage() возвращает нулевое значение",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"checkingForUpdate": {
|
"checkingForUpdate": {
|
||||||
"message": "Проверка…",
|
"message": "Проверка…",
|
||||||
"description": "Text to display when checking a style for an update"
|
"description": "Text to display when checking a style for an update"
|
||||||
|
|
|
@ -468,10 +468,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "Stylus 无法在隐私窗口下运行,因为 Firefox 不允许直接连接到拓展的内部背景页面上下文",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"styleSectionsTitle": {
|
"styleSectionsTitle": {
|
||||||
"message": "部分",
|
"message": "部分",
|
||||||
"description": "Title for the style sections section"
|
"description": "Title for the style sections section"
|
||||||
|
@ -730,10 +726,6 @@
|
||||||
"message": "总页面",
|
"message": "总页面",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "由于此版本的 Firefox 有已知的 BUG,所以 chrome.extension.getBackgroundPage() 并不会返回一个有效的结果",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"checkingForUpdate": {
|
"checkingForUpdate": {
|
||||||
"message": "正在检查更新...",
|
"message": "正在检查更新...",
|
||||||
"description": "Text to display when checking a style for an update"
|
"description": "Text to display when checking a style for an update"
|
||||||
|
|
|
@ -468,10 +468,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dysfunctional": {
|
|
||||||
"message": "Stylus 無法在隱私視窗中運作,因為 Firefox 不允許直接連線到附加元件的內部背景頁面內容。",
|
|
||||||
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
|
|
||||||
},
|
|
||||||
"styleSectionsTitle": {
|
"styleSectionsTitle": {
|
||||||
"message": "樣式段",
|
"message": "樣式段",
|
||||||
"description": "Title for the style sections section"
|
"description": "Title for the style sections section"
|
||||||
|
@ -730,10 +726,6 @@
|
||||||
"message": "總頁面",
|
"message": "總頁面",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"dysfunctionalBackgroundConnection": {
|
|
||||||
"message": "由於此版本的 Firefox 中有已知的臭蟲,所以無法正常運作:chrome.extension.getBackgroundPage() 並未傳回有效的結果",
|
|
||||||
"description": "Displayed in style manager when unable to connect to the background page"
|
|
||||||
},
|
|
||||||
"checkingForUpdate": {
|
"checkingForUpdate": {
|
||||||
"message": "檢查中…",
|
"message": "檢查中…",
|
||||||
"description": "Text to display when checking a style for an update"
|
"description": "Text to display when checking a style for an update"
|
||||||
|
|
|
@ -62,15 +62,6 @@ onDOMready().then(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!chrome.app && chrome.windows) {
|
if (!chrome.app && chrome.windows) {
|
||||||
// die if unable to access BG directly
|
|
||||||
chrome.windows.getCurrent(wnd => {
|
|
||||||
if (!BG && wnd.incognito &&
|
|
||||||
!location.pathname.includes('popup.html')) {
|
|
||||||
// private windows can't get bg page
|
|
||||||
location.href = '/msgbox/dysfunctional.html';
|
|
||||||
throw 0;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
// add favicon in Firefox
|
// add favicon in Firefox
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (!window.prefs) {
|
if (!window.prefs) {
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
html {
|
|
||||||
height: 100vh;
|
|
||||||
min-height: 12em;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
white-space: pre-wrap;
|
|
||||||
background-color: #555;
|
|
||||||
box-sizing: border-box;
|
|
||||||
border: 2vw solid black;
|
|
||||||
font-size: 15px;
|
|
||||||
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
|
|
||||||
hyphens: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin: 2em;
|
|
||||||
color: white;
|
|
||||||
max-width: 20em;
|
|
||||||
}
|
|
||||||
|
|
||||||
div {
|
|
||||||
color: antiquewhite;
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html id="stylus">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Stylus</title>
|
|
||||||
<link rel="stylesheet" href="dysfunctional.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<script src="dysfunctional.js"></script>
|
|
||||||
</body>
|
|
|
@ -1,3 +0,0 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
document.body.textContent = chrome.i18n.getMessage('dysfunctional');
|
|
Loading…
Reference in New Issue
Block a user