linking options page to chrome://extensions/configureCommands
This commit is contained in:
parent
d2f364c609
commit
0bd2e8ae1a
|
@ -443,6 +443,9 @@
|
|||
"optionsOpenManager": {
|
||||
"message": "Open styles manager"
|
||||
},
|
||||
"optionsOpenManagerNote": {
|
||||
"message": "Define a keyboard shortcut"
|
||||
},
|
||||
"optionsCheckUpdate": {
|
||||
"message": "Check for updates"
|
||||
},
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td i18n-text="optionsOpenManager"></td>
|
||||
<td i18n-text="optionsOpenManager"><sup>2</sup></td>
|
||||
<td><button type="button" data-cmd="open-manage" i18n-text="optionsOpen"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -48,6 +48,8 @@
|
|||
<div class="notes">
|
||||
<hr>
|
||||
1: <span i18n-text="optionsUpdateIntervalNote"></span>
|
||||
<br>
|
||||
2: <span i18n-text="optionsOpenManagerNote"></span>, <a href="#" data-cmd="open-keyboard">chrome://extensions/configureCommands</a>
|
||||
</div>
|
||||
|
||||
<script src="index.js"></script>
|
||||
|
|
|
@ -85,4 +85,9 @@ document.addEventListener('click', e => {
|
|||
method: 'resetInterval'
|
||||
});
|
||||
}
|
||||
else if (cmd === 'open-keyboard') {
|
||||
chrome.tabs.create({
|
||||
url: 'chrome://extensions/configureCommands'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user