Can I have my cursor on at the end of the URL instead of selecting all of it, when I focus on the URL bar?

2 years ago by TheTwelveYearOld to c/firefox

I know I can press right but I'm just wondering if it can be done by default

load all comments
BendyLemmy 17 points 2 years ago

You press right arrow to go there.

path: 0 13219084, hotness: undefined, score: 17, children: 4
SzethFriendOfNimi 13 points 2 years ago

Or the end key which goes to the end of a any line in any text editor in windows

path: 0 13219084 13219440, hotness: undefined, score: 13, children: 2
adarza 5 points 2 years ago

yup. either works. also clicking a second time puts the text input cursor at the site of the last click. click fast enough for a 'double click' will select the word or whatever windows thinks is a 'word' nearest to the double click.

also F6 or CTRL-L will put the focus up there without having to click. saving the mouse from making the (potentially long) journey there. then END or RIGHT puts the mouse at the end of the address. a programmable keyboard or utility, or autohotkey, could be used to make a new custom shortcut that hits those two keys with one keypress or alternate mouse button click.

the reason for the default behaviour is because the most common (and overwhelmingly so) things people do when they click or give focus to the urlbar is either copy its contents to the clipboard, or replace it entirely by pasting or immediately typing. these things require the entire url address to be selected upon focus.

path: 0 13219084 13219440 13219834, hotness: undefined, score: 5, children: 1
markstos 1 point 2 years ago

And maybe Control-E too?

path: 0 13219084 13224762, hotness: undefined, score: 1, children: 0
firefox
firefox

@fedia.io

login for more options
1058
839
184

The latest news and developments on Firefox and Mozilla, a global non-profit that strives to promote openness, innovation and opportunity on the web.

You can subscribe to this community from any Kbin or Lemmy instance:

Related

Rules

While we are not an official Mozilla community, we have adopted the Mozilla Community Participation Guidelines as far as it can be applied to a bin.

Rules

  1. Always be civil and respectful
    Don't be toxic, hostile, or a troll, especially towards Mozilla employees. This includes gratuitous use of profanity.

  2. Don't be a bigot
    No form of bigotry will be tolerated.

  3. Don't post security compromising suggestions
    If you do, include an obvious and clear warning.

  4. Don't post conspiracy theories
    Especially ones about nefarious intentions or funding. If you're concerned: Ask. Please don’t fuel conspiracy thinking here. Don’t try to spread FUD, especially against reliable privacy-enhancing software. Extraordinary claims require extraordinary evidence. Show credible sources.

  5. Don't accuse others of shilling
    Send honest concerns to the moderators and/or admins, and we will investigate.

  6. Do not remove your help posts after they receive replies
    Half the point of asking questions in a public sub is so that everyone can benefit from the answers—which is impossible if you go deleting everything behind yourself once you've gotten yours.

go to feed...