搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Find toolbar not picking up button text

  • 2 回覆
  • 1 有這個問題
  • 5 次檢視
  • 最近回覆由 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 於 修改