搜尋 Mozilla 技術支援網站

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

了解更多

Only on FX: id="adv" 'hides' the element

  • 2 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 Hillbilly

more options

This appears to be confined to FX. (FX 110.0.1 (64-bit) on Linux) Elements like input or output are hidden if id the ID is set as "adv". What is going on - is this a gotcha? Easy workaround of course but that's not the point.

<meta name="description" content="test"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="UTF-8"> <title>test adv</title>

xxxx<input id="adv">yyyy
xxxx<input id="anyOtherID">yyyy

This appears to be confined to FX. (FX 110.0.1 (64-bit) on Linux) Elements like input or output are hidden if id the ID is set as "adv". What is going on - is this a gotcha? Easy workaround of course but that's not the point. <!DOCTYPE html> <html lang="en-GB"> <meta name="description" content="test"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="UTF-8"> <title>test adv</title> <body> <div> xxxx<input id="adv"></input>yyyy <!-- hidden--> </div> <div> xxxx<input id="anyOtherID"></input>yyyy <!-- not hidden --> </div> </body> </html>

被選擇的解決方法

It looks like the ad blocking add-on is doing it. Do you have uBlock Origin or Adblock+?

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

It looks like the ad blocking add-on is doing it. Do you have uBlock Origin or Adblock+?

more options

Quite right. Never would have guessed. Using AdBlocker. That really does seem to be a gotcha good for screwing up sites.