![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
The window.selection don't work after a hotkey CTRL+SHIFT+0
I try to program an extension, after a CTRL+SHIFT+0 I would like to get the selected text in any web page. But I can't. The hotkey works, not the selected text. I have this from the console:
Selection { anchorNode: null, anchorOffset: 0, focusNode: null, focusOffset: 0, isCollapsed: true, rangeCount: 0, caretBidiLevel: null }
I try to program an extension, after a CTRL+SHIFT+0 I would like to get the selected text in any web page. But I can't. The hotkey works, not the selected text. I have this from the console:
Selection { anchorNode: null, anchorOffset: 0, focusNode: null, focusOffset: 0, isCollapsed: true, rangeCount: 0, caretBidiLevel: null }
모든 댓글 (1)
You can try to ask at the Add-ons forum website.