Mozilla Support में खोजें

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

The window.selection don't work after a hotkey CTRL+SHIFT+0

  • 1 प्रत्युत्तर दें
  • 1 यह समस्या है
  • 1 view
  • के द्वारा अंतिम प्रतियुतर cor-el

more options

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 }

All Replies (1)

more options

You can try to ask at the Add-ons forum website.