mirror of
				https://github.com/anticensority/runet-censorship-bypass.git
				synced 2025-11-04 01:47:54 +03:00 
			
		
		
		
	Open options page links in bg by default
This commit is contained in:
		
							parent
							
								
									4bb8f7d50e
								
							
						
					
					
						commit
						6fe17ced57
					
				| 
						 | 
					@ -16,7 +16,7 @@ Use only if really required because of performance penalty.
 | 
				
			||||||
      const location = ln.href;
 | 
					      const location = ln.href;
 | 
				
			||||||
      ln.onclick = function() {
 | 
					      ln.onclick = function() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        chrome.tabs.create({active: !this.dataset.inBg, url: location});
 | 
					        chrome.tabs.create({active: this.dataset.inBg === "false", url: location});
 | 
				
			||||||
        return false;
 | 
					        return false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -67,7 +67,7 @@ export default function getExceptions(theState) {
 | 
				
			||||||
                <InfoLi
 | 
					                <InfoLi
 | 
				
			||||||
                  type="checkbox"
 | 
					                  type="checkbox"
 | 
				
			||||||
                  conf={{
 | 
					                  conf={{
 | 
				
			||||||
                    label: '<span>Собирать <a href="../errors-to-exc/index.html">последние ошибки</a> сайтов</span>',
 | 
					                    label: '<span>Собирать <a data-in-bg="false" href="../errors-to-exc/index.html">последние ошибки</a> сайтов</span>',
 | 
				
			||||||
                    key: 'lookupLastErrors',
 | 
					                    key: 'lookupLastErrors',
 | 
				
			||||||
                    desc: 'Собирать последние ошибки в запросах, чтобы вручную добавлять избранные из них в исключения.',
 | 
					                    desc: 'Собирать последние ошибки в запросах, чтобы вручную добавлять избранные из них в исключения.',
 | 
				
			||||||
                  }}
 | 
					                  }}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,7 +27,7 @@ export default function getFooter() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <footer class={scopedCss.controlRow + ' horFlex nowrap'}>
 | 
					        <footer class={scopedCss.controlRow + ' horFlex nowrap'}>
 | 
				
			||||||
          <input type="button" value="Готово" disabled={props.ifInputsDisabled} onClick={() => window.close()} />
 | 
					          <input type="button" value="Готово" disabled={props.ifInputsDisabled} onClick={() => window.close()} />
 | 
				
			||||||
          <a href="../troubleshoot/index.html">
 | 
					          <a data-in-bg="false" href="../troubleshoot/index.html">
 | 
				
			||||||
            Проблемы?
 | 
					            Проблемы?
 | 
				
			||||||
          </a>
 | 
					          </a>
 | 
				
			||||||
        </footer>
 | 
					        </footer>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,15 +7,15 @@
 | 
				
			||||||
  <body>
 | 
					  <body>
 | 
				
			||||||
    <h1>Устранение проблем</h1>
 | 
					    <h1>Устранение проблем</h1>
 | 
				
			||||||
    <ol>
 | 
					    <ol>
 | 
				
			||||||
      <li><a href id="view-errors">Детали последних ошибок</a></li>
 | 
					      <li><a data-in-bg="false" href id="view-errors">Детали последних ошибок</a></li>
 | 
				
			||||||
      <li><a href id="reset-settings">Сбросить настройки</a></li>
 | 
					      <li><a data-in-bg="false" href id="reset-settings">Сбросить настройки</a></li>
 | 
				
			||||||
      <li><a href="https://rebrand.ly/ac-support" target="_blank">Файл самопомощи</a></li>
 | 
					      <li><a data-in-bg="false" href="https://rebrand.ly/ac-support" target="_blank">Файл самопомощи</a></li>
 | 
				
			||||||
      <li><a href="https://rebrand.ly/ac-contact">Напишите нам!</a></li>
 | 
					      <li><a data-in-bg="false" href="https://rebrand.ly/ac-contact">Напишите нам!</a></li>
 | 
				
			||||||
    </ol>
 | 
					    </ol>
 | 
				
			||||||
    <h2>Для продвинутых</h2>
 | 
					    <h2>Для продвинутых</h2>
 | 
				
			||||||
    <ol>
 | 
					    <ol>
 | 
				
			||||||
      <li><a href="https://rebrand.ly/ac-logs">Как прочитать логи?</a></li>
 | 
					      <li><a data-in-bg="false" href="https://rebrand.ly/ac-logs">Как прочитать логи?</a></li>
 | 
				
			||||||
      <li><a href="../debug/index.html">Отладка PAC-скрипта</a></li>
 | 
					      <li><a data-in-bg="false" href="../debug/index.html">Отладка PAC-скрипта</a></li>
 | 
				
			||||||
    </ol>
 | 
					    </ol>
 | 
				
			||||||
    <script src="./index.js"></script>
 | 
					    <script src="./index.js"></script>
 | 
				
			||||||
    <script src="../lib/keep-links-clickable.js"></script>
 | 
					    <script src="../lib/keep-links-clickable.js"></script>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user