You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support Ctrl+A "Select All" to select all text in a page #47897
Describe the new feature:
Having a look through #36460, it seems other selection-based features are in the pipeline, but Ctrl+A itself isn't explicitly mentioned. It's a keyboard command that selects everything in the page. While it may seem a bit outdated, it sometimes comes in handy when you want to highlight all the visible text in a page (to determine, e.g. where ::befores and ::afters are). And, of course, when the whole page is just article prose, it can be useful to help copy its full contents into a local text file or something.
My instinct is that we could implement this by adding a VirtualMethods implementation for Document and implementing the handle_event method and updating the selection if the event's preventDefault wasn't called.
Activity
jdm commentedon Sep 8, 2026
My instinct is that we could implement this by adding a VirtualMethods implementation for Document and implementing the handle_event method and updating the selection if the event's preventDefault wasn't called.
script: Implement CTRl-A to select all
script: Implement CTRl-A to select all
script: Implement CTRl-A to select all
script: Implement CTRl-A to select all
script: Implement CTRl-A to select all
script: Implement CTRl-A to select all
script: Implement CTRL-A to select all (servo#48025)
script: Implement CTRL-A to select all (servo#48025)
script: Implement CTRL-A to select all (servo#48025)