We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search 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

How to find a word and copy the phrase containing the word without using the mouse

  • 4 majibu
  • 1 ana tatizo hili
  • 1 view
  • Last reply by cor-el

more options

I am using a macro to fill in a form and select fields in the form. The fields are titled and i want to use the field title to select the field and thus need to copy the name to compare with the search text and tab to the next requested field.

I am using a macro to fill in a form and select fields in the form. The fields are titled and i want to use the field title to select the field and thus need to copy the name to compare with the search text and tab to the next requested field.

All Replies (4)

more options

Do you try use ctrl+c and ctrl+v?

more options

Lets try again: first find a word on the page without using the mouse second, Select the word or phrase without using the mouse

ctrl+c and ctrl+v, that I can handle after step 1 & 2

more options

Ctrl+f opens the search in page feature. However, the result is not automatically selected and ready for copying. And since you already typed the query, you wouldn't really save any time that way...

Firefox has some accessibility features you could explore: Accessibility features in Firefox - Make Firefox and web content work for all users. These include placing a movable cursor into the page, or searching/selecting using / and other possibly useful items. Maybe between them you can find a good workflow. If not, maybe an add-on?

Edit: Here's an example of how to select the word accessibility in this post:

Type:

/acce

Press:

Esc, Ctrl+Shift+right

Edit: Actually it works with Ctrl+f as well, and that might be better if the word is common so you can use Next/Previous.

Press:

Ctrl+f

Type:

acce

Press:

Esc, Ctrl+Shift+right

Modified by jscher2000 - Support Volunteer

more options

The only way to copy the paragraph that contains the search term is with the mouse (probably a triple click works; pref: browser.triple_click_selects_paragraph).
With the keyboard you can only do this if caret browsing is enabled.