Skip to content

Commit 597a2d6

Browse files
Add hint how to change shortcut, closes #124
Signed-off-by: Martin Hoefling <[email protected]>
1 parent 2598676 commit 597a2d6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ Adapt the wrapper and manifest and copy them to the correct locations.
5454

5555
More details about Native Messaging can be found in the [Chrome](https://developer.chrome.com/apps/nativeMessaging) and [MDN](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_messaging) documentation.
5656

57+
### Change default shortcut
58+
59+
On firefox, you can change the shortcut via "manage extension shortcut" in the extension menu.
60+
In Chrome under "keyboard shortcuts" in the hamburger menu in extensions.
61+
5762
## Development
5863

5964
Contributions to this project are welcome!

tests/unit/details.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ global.openURLOnEvent = jest.fn(event => {
1818
event.preventDefault();
1919
});
2020
global.getSettings = jest.fn();
21-
global.getSettings.mockResolvedValue({omitkeys: "otpauth, muh"});
21+
global.getSettings.mockResolvedValue({ omitkeys: 'otpauth, muh' });
2222
require('details.js');
2323

2424
const details = window.tests.details;
@@ -82,7 +82,7 @@ describe('onEntryData', () => {
8282

8383
test('filtered keys', () => {
8484
expect.assertions(2);
85-
return details.onEntryData(loginElement, { muh: "value" }).then(() => {
85+
return details.onEntryData(loginElement, { muh: 'value' }).then(() => {
8686
expect(document.getElementsByClassName('detail-key').length).toBe(0);
8787
expect(document.getElementsByClassName('detail-clickable-value').length).toBe(0);
8888
});

0 commit comments

Comments
 (0)