From 6fe17ced572aebfd98486ee27a05407d0b09b482 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 9 May 2018 16:57:27 +0500 Subject: [PATCH] Open options page links in bg by default --- .../pages/lib/keep-links-clickable.js | 2 +- .../pages/options/src/components/Exceptions.js | 2 +- .../pages/options/src/components/Footer.js | 2 +- .../extension-common/pages/troubleshoot/index.html | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/lib/keep-links-clickable.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/lib/keep-links-clickable.js index 8d139cf..f0cc30b 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/lib/keep-links-clickable.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/lib/keep-links-clickable.js @@ -16,7 +16,7 @@ Use only if really required because of performance penalty. const location = ln.href; ln.onclick = function() { - chrome.tabs.create({active: !this.dataset.inBg, url: location}); + chrome.tabs.create({active: this.dataset.inBg === "false", url: location}); return false; }; diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Exceptions.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Exceptions.js index ff695a7..0988221 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Exceptions.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Exceptions.js @@ -67,7 +67,7 @@ export default function getExceptions(theState) { Собирать последние ошибки сайтов', + label: 'Собирать последние ошибки сайтов', key: 'lookupLastErrors', desc: 'Собирать последние ошибки в запросах, чтобы вручную добавлять избранные из них в исключения.', }} diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Footer.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Footer.js index 433b091..238e26c 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Footer.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Footer.js @@ -27,7 +27,7 @@ export default function getFooter() { diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/troubleshoot/index.html b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/troubleshoot/index.html index 214a49e..dd21ec2 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/troubleshoot/index.html +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/troubleshoot/index.html @@ -7,15 +7,15 @@

Устранение проблем

    -
  1. Детали последних ошибок
  2. -
  3. Сбросить настройки
  4. -
  5. Файл самопомощи
  6. -
  7. Напишите нам!
  8. +
  9. Детали последних ошибок
  10. +
  11. Сбросить настройки
  12. +
  13. Файл самопомощи
  14. +
  15. Напишите нам!

Для продвинутых

    -
  1. Как прочитать логи?
  2. -
  3. Отладка PAC-скрипта
  4. +
  5. Как прочитать логи?
  6. +
  7. Отладка PAC-скрипта