חיפוש בתמיכה

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

Automatically "Find in Page" in New Tab from a link ?

more options

Hi there :)

Is it possible to make a link open a new tab with "Find in Page" automatically enabled so that people do not have to ctrl-F or click on "edit" to have the search open (as many people do not even know that option is there !!!) ?

Many thanks

Zoe

Hi there :) Is it possible to make a link open a new tab with "Find in Page" automatically enabled so that people do not have to ctrl-F or click on "edit" to have the search open (as many people do not even know that option is there !!!) ? Many thanks Zoe

כל התגובות (7)

more options

Hi. In the browser menu Help > Share ideas and feedback.

https://support.mozilla.org/en-US/kb/file-bug-report-or-feature-request-mozilla

more options

Terry said

Hi. In the browser menu Help > Share ideas and feedback. https://support.mozilla.org/en-US/kb/file-bug-report-or-feature-request-mozilla

Hi Terry

Do I take it that it's not currently possible then ? This was a question - Not a suggestion !!

Thanks

Zoe

more options

You may be able to achieve that by installing an autoconfig file. I have added a blank space to the url below and you will need to remove that.

https://www.userchrome. org/what-is-userchrome-js.html

more options

Terry said

You may be able to achieve that by installing an autoconfig file. I have added a blank space to the url below and you will need to remove that. https://www.userchrome. org/what-is-userchrome-js.html

That's what I mean. People would have to do/install something at their end as opposed to something I can put in the link e.g. #labels

more options

I know of no simple way of doing what you want. Nor do you. Nor, it seems, does anyone else.

השתנתה ב־ על־ידי Terry

more options

Making the Find bar visible via userChrome.css won't work because the Find bar needs to be initialized via JavaScript and you get a not working Find bar.

more options

Hi, is this for your website?

My thought was that a script in the page could spot the hash and simulate the user pressing Ctrl+F (or on Mac, Command+F), but because it is an untrusted event, that doesn't work in Firefox. The answer in the following StackOverflow thread is that the site needs to implement its own Find feature:

https://stackoverflow.com/questions/58300026/ctrlf-keyboardevent-not-opening-find


More generally:

You may have noticed people circulating links with enormous text hashes. Chrome uses these to find and highlight text in the page. Firefox users have expressed some interest: I found three "Idea" postings on Mozilla Connect along those lines with a combined total of 41 votes:

Currently, Firefox users need an add-on (with permission to all websites) to load these links: https://addons.mozilla.org/firefox/addon/link-to-text-fragment/

Mozilla is still sorting out how to support these links without creating privacy leaks or enabling threat scenarios.

Anyway, you can add your voice by voting for one or more of the Ideas on Mozilla Connect and adding any additional use case scenarios that Mozilla should consider.