Automatically "Find in Page" in New Tab from a link ?
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
Alle Antworten (7)
Hi. In the browser menu Help > Share ideas and feedback.
https://support.mozilla.org/en-US/kb/file-bug-report-or-feature-request-mozilla
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
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
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
I know of no simple way of doing what you want. Nor do you. Nor, it seems, does anyone else.
Geändert am
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.
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:
- Add ability to bookmark a SPECIFIC LINE OF TEXT on a page
- Copy link to highlight
- Support Text Fragments and create URI from the find bar
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.