為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

The inspect element tool of Firefox browser is not showing the <pre> tag and it's contents

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

more options

The inspect element tool of Firefox browser (version) is not showing the <pre> tag and it's contents on YouTube pages. The pre tag I am referring to is as follows (screenshot taken on torch browser): (Red arrow indicates pre tag, blue arrow indicates script tag common to firefox and torch) It is the child of body tag. The inspect element for the same page on firefox looks like this: As we can see there is not pre tag. I 'googled' the problem but did not find results that explicitly explained the matter. I also checked this on Firefox developer latest version and Firefox beta latest version but the YouTube pre tag is not appearing in any of these. Why is it not appearing in Firefox's inspect element if it is appearing in chrome's inspect element? Is it a bug? If not then where else can I find the contents of that pre tag in Firefox's inspect element? Thanks a lot.

The inspect element tool of Firefox browser (version) is not showing the &lt;pre&gt; tag and it's contents on YouTube pages. The pre tag I am referring to is as follows (screenshot taken on torch browser): (Red arrow indicates pre tag, blue arrow indicates script tag common to firefox and torch) It is the child of body tag. The inspect element for the same page on firefox looks like this: As we can see there is not pre tag. I 'googled' the problem but did not find results that explicitly explained the matter. I also checked this on Firefox developer latest version and Firefox beta latest version but the YouTube pre tag is not appearing in any of these. Why is it not appearing in Firefox's inspect element if it is appearing in chrome's inspect element? Is it a bug? If not then where else can I find the contents of that pre tag in Firefox's inspect element? Thanks a lot.
附加的畫面擷圖

由 cor-el 於 修改

被選擇的解決方法

Hi cor-el. First of all, Thank you very much. I did some more digging and found out that Torch browser which I used as a base for this question was not a fresh installation. So when I installed a fresh Torch browser, I was not able to see that "pre" tag I am referring to. After more analysis I found out that the "pre" tag here is appearing due to an extension I installed in my Torch browser ( extension name: Ultimate Youtube Downloader). So in conclusion, I checked and the pre tag does not appear in any of these browsers (chrome,torch,firefox,IE,opera). It was appearing in the Torch browser due to an extension. Thank you again.

PS: I posted this question earlier but due to some migration I was unable to access my question ( actually I was unable to access my account). So I reposted my question.

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

所有回覆 (3)

more options

This pre tag seems to show debug data. This data might be stored elsewhere in Firefox and not in the pre tag. I think that in Firefox this debug data is stored in a textarea (<textarea class="ytp-html5-clipboard"></textarea>)

more options

I notice that you asked this before on the Lithium based forum (2017-04-15) and that I gave you the same answer I posted above. I don't know if you had read my reply I posted there that included a screenshot.

Note that this support forum has temporarily moved back from the Lithium based from to the previously used Kitsune based forum to make it possible to fix some issues that were recovered during the first weeks.

more options

選擇的解決方法

Hi cor-el. First of all, Thank you very much. I did some more digging and found out that Torch browser which I used as a base for this question was not a fresh installation. So when I installed a fresh Torch browser, I was not able to see that "pre" tag I am referring to. After more analysis I found out that the "pre" tag here is appearing due to an extension I installed in my Torch browser ( extension name: Ultimate Youtube Downloader). So in conclusion, I checked and the pre tag does not appear in any of these browsers (chrome,torch,firefox,IE,opera). It was appearing in the Torch browser due to an extension. Thank you again.

PS: I posted this question earlier but due to some migration I was unable to access my question ( actually I was unable to access my account). So I reposted my question.

由 arorakash 於 修改