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!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Find toolbar not picking up button text

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

If I have a button element on my page like so: <input type="button" name="ddd" id="ddd" value="Missing embedded data in the response">

...I cannot find instances of the button text using the page find function (Ctrl+F). So if I try 'Missing' in the Find toolbar, the button text is not found.

If I have a button element on my page like so: <input type="button" name="ddd" id="ddd" value="Missing embedded data in the response"> ...I cannot find instances of the button text using the page find function (Ctrl+F). So if I try 'Missing' in the Find toolbar, the button text is not found.

由w.patrick.gale于修改

被采纳的解决方案

The Post Reply button has textContent: <button type="submit" class="btn btn-submit big" accesskey="s">Post Reply</button>

You can't use Find to find text like a label that is part of a button. You can use the Inspector or search the page source to locate such 'hidden' data.

data:text/html;charset=utf-8;base64,PGlucHV0IHR5cGU9ImJ1dHRvbiIgbmFtZT0iZGRkIiBpZD0iZGRkIiB2YWx1ZT0iTWlzc2luZyBlbWJlZGRlZCBkYXRhIGluIHRoZSByZXNwb25zZSI+

定位到答案原位置 👍 1

所有回复 (2)

more options

Hmm, it seems to find the Post Reply button when I search the word post on this page. How about for you?

Does it make any difference whether the button is visible or outside the viewport?

(Also, I assume your page isn't intercepting Ctrl+f, you're just getting the default Find experience.)


Could you test in Firefox's Safe Mode? In its Safe Mode, Firefox temporarily deactivates extensions, hardware acceleration, any userChrome.css/userContent.css files, and some other advanced features to help you assess whether these are causing the problem.

If Firefox is not running: Hold down the Shift key when starting Firefox. (On Mac, hold down the option/alt key instead of the Shift key.)

If Firefox is running: You can restart Firefox in Safe Mode using either:

  • "3-bar" menu button > "?" Help button > Restart with Add-ons Disabled
  • (menu bar) Help menu > Restart with Add-ons Disabled

and OK the restart.

Both scenarios: A small dialog should appear. Click "Start in Safe Mode" (not Refresh).

Any improvement?

more options

选择的解决方案

The Post Reply button has textContent: <button type="submit" class="btn btn-submit big" accesskey="s">Post Reply</button>

You can't use Find to find text like a label that is part of a button. You can use the Inspector or search the page source to locate such 'hidden' data.

data:text/html;charset=utf-8;base64,PGlucHV0IHR5cGU9ImJ1dHRvbiIgbmFtZT0iZGRkIiBpZD0iZGRkIiB2YWx1ZT0iTWlzc2luZyBlbWJlZGRlZCBkYXRhIGluIHRoZSByZXNwb25zZSI+

由cor-el于修改