Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use Google Chrome on OSX. Is there a way, within the browser, to get a text cursor that will allow me to navigate through text, selecting and copying text using only the keyboard?

I've looked at Vimium, Conkeror, and Vimperator, but as far as I can tell, they allow you to use the keyboard to navigate web pages (scrolling, visiting links) but don't provide a text cursor.

Is this possible?

Update: I have learned that this is called caret browsing or caret navigation. Is this possible in Chrome?

share|improve this question

3 Answers 3

  1. Press Ctrl + Shift + J to open the console.

  2. Enter the following into the console and press Enter:

    document.body.contentEditable=true
    

Now you get a cursor and can even edit the whole page.

share|improve this answer
6  
Whilst this is useful (+1), it is very different to caret browsing. The content is literally editable and is no longer navigable (anchors are not active, etc.). –  w3d Mar 9 '13 at 23:35
    
@w3d: Humm, you're right. Let me see if I can offer something better :D –  Oliver Salzburg Mar 9 '13 at 23:36
    
@w3d: Seems like most people online only offer text selection as a replacement for caret browsing, I doubt that's what you want either. The best I could offer would be to turn content editing off while the mouse cursor is inside the page (move cursor to address bar to show the caret): $("html").hover(function(){document.body.contentEditable=false;},function(){doc‌​ument.body.contentEditable=true;}); –  Oliver Salzburg Mar 9 '13 at 23:43
    
The only problem with this way is that I also couldn't find a keyboard-only way to select "Console", when opening Ctrl+Shift+J. EDIT: Weird enough, it seems Ctrl+Shift+J sometimes open in Elements tab (and then I can't TAB to Console), and sometimes opens directly on Console (as wished). Thank you for the hint anyway. –  Charles Roberto Canato Nov 16 '13 at 19:18

Vimperator has caret browsing. The default keybind for it is C.

share|improve this answer
4  
And how does that apply to enabling caret browsing in Chrome? –  Oliver Salzburg May 12 '13 at 11:31
    
>I've looked at Vimium, Conkeror, and Vimperator, but as far as I can tell, they [...] don't provide a text cursor. Vimperator does provide a text cursor. –  Raphael May 12 '13 at 11:35
1  
Fair enough. I'm a bit confused how he got it to work in Chrome though. –  Oliver Salzburg May 12 '13 at 13:14
    
Another reason to move to Firefox, thanks :) –  Breno Salgado Aug 15 '14 at 17:42

So far, it is not yet implemented or planned:source. You can star this feature request and remain updated.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.