Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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.

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.