diff --git a/client/components/App.vue b/client/components/App.vue index a467dd28..c979599e 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -202,7 +202,9 @@ class App extends Vue { setAppTitle(title) { if (!title) { - if (this.mode == 'omnireader') { + if (this.mode == 'liberama.top') { + document.title = `Liberama Reader - всегда с вами`; + } else if (this.mode == 'omnireader') { document.title = `Omni Reader - всегда с вами`; } else if (this.config && this.mode !== null) { document.title = `${this.config.name} - ${this.itemRuText[this.$root.rootRoute]}`; @@ -221,7 +223,7 @@ class App extends Vue { } get showAsideBar() { - return (this.mode !== null && this.mode != 'reader' && this.mode != 'omnireader'); + return (this.mode !== null && this.mode != 'reader' && this.mode != 'omnireader' && this.mode != 'liberama.top'); } set showAsideBar(value) { @@ -232,7 +234,7 @@ class App extends Vue { } redirectIfNeeded() { - if ((this.mode == 'reader' || this.mode == 'omnireader') && (!this.isReaderActive)) { + if ((this.mode == 'reader' || this.mode == 'omnireader' || this.mode == 'liberama.top') && (!this.isReaderActive)) { //старый url const search = window.location.search.substr(1); const s = search.split('url='); diff --git a/client/components/Reader/HelpPage/CommonHelpPage/CommonHelpPage.vue b/client/components/Reader/HelpPage/CommonHelpPage/CommonHelpPage.vue index ab945a71..b5860517 100644 --- a/client/components/Reader/HelpPage/CommonHelpPage/CommonHelpPage.vue +++ b/client/components/Reader/HelpPage/CommonHelpPage/CommonHelpPage.vue @@ -22,15 +22,15 @@ на файл из онлайн-библиотеки (например, скопировав адрес ссылки или кнопки "скачать fb2").
Поддерживаемые форматы: fb2, fb2.zip, html, txt и другие.
-Вы можете добавить в свой браузер закладку, указав в ее свойствах вместо адреса следующий код:
-
javascript:location.href='https://omnireader.ru/?url='+location.href;
-
{{ bookmarkText }}
+
или перетащив на панель закладок следующую ссылку:
-
Omni Reader
+
{{ (mode == 'omnireader' ? 'Omni' : 'Liberama') }} Reader
Тогда, активировав получившуюся закладку на любой странице интернета, вы автоматически загрузите эту страницу в Omni Reader.
В Chrome для Android можно вызывать такую закладку по имени прямо в адресной строке браузера (имя стоит сделать попроще).