Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

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

Learn More

Data embedded in "object" tag is not loaded, depending on which Firefox profile I use. What setting controls this?

  • 無回覆
  • 0 有這個問題
  • 1 次檢視
more options

In Firefox 115.8.0esr on linux RHEL7, I am loading a local html page (using file:///...) that I created. Inside the html page, I have a tag "<object id="hiddenDataObj" data="abc.txt">" where abc.txt is a text file in the same directory as the html file. Using my default profile, the data is loaded and some downstream javascript runs as expected. When I use an alternate profile and try to load the exact same page, I get a javacscript error "Uncaught TypeError: hiddenDataObj.contentDocument is null." It is not null when I run my default profile.

I'm trying to figure out what setting in my profile is enabling/disabling the loading of the data so that I can change it. I've gone to about:preferences and scrolled through and it seems like all settings I see are the same between the two profiles.

Thanks for any help.

In Firefox 115.8.0esr on linux RHEL7, I am loading a local html page (using file:///...) that I created. Inside the html page, I have a tag "<object id="hiddenDataObj" data="abc.txt">" where abc.txt is a text file in the same directory as the html file. Using my default profile, the data is loaded and some downstream javascript runs as expected. When I use an alternate profile and try to load the exact same page, I get a javacscript error "Uncaught TypeError: hiddenDataObj.contentDocument is null." It is not null when I run my default profile. I'm trying to figure out what setting in my profile is enabling/disabling the loading of the data so that I can change it. I've gone to about:preferences and scrolled through and it seems like all settings I see are the same between the two profiles. Thanks for any help.

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題