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