Ko tenda hembiapoite sa’ivéta oñemba’apokuévo hese hembiapo porãve hag̃ua. Peteĩ jehaipyre nomoĩporãiramo ne apañuái ha eporanduséramo, roguerekohína ore nepytyvõ rekoha ikatútava ndeykeko @FirefoxSupport Twitter-pe ha avei /r/firefox Reddit-pe.

Eheka Pytyvõha

Emboyke pytyvõha apovai. Ndorojeruremo’ãi ehenói térã eñe’ẽmondóvo pumbyrýpe ha emoherakuãvo marandu nemba’etéva. Emombe’u tembiapo imarãkuaáva ko “Marandu iñañáva” rupive.

Kuaave

How to allow for a script to upload a file from the hard drive?

  • 2 Mbohovái
  • 2 oguereko ko apañuãi
  • 36 Hecha
  • Mbohovái ipaháva guster33k

more options

HI,

I have a custom filing script that automates file upload for my filing script, but Firefox does not allow for that with a "Security Error: The operation is insecure".

This is only for my personal computer on a script that I developed only for myself, on a separate FF profile.

In the past I used netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead") but that has been removed from Firefox.

Is there any other way to change security settings in Firefox to allow for a script to upload a file from the hard drive?

Thank you

HI, I have a custom filing script that automates file upload for my filing script, but Firefox does not allow for that with a "Security Error: The operation is insecure". This is only for my personal computer on a script that I developed only for myself, on a separate FF profile. In the past I used netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead") but that has been removed from Firefox. Is there any other way to change security settings in Firefox to allow for a script to upload a file from the hard drive? Thank you

Moambuepyre guster33k rupive

Opaite Mbohovái (2)

more options

hello, please refer to https://developer.mozilla.org/en-US/docs/Bypassing_Security_Restrictions_and_Signing_Code.

apparently it's no longer to circumvent that easily - you'd have to create your own addon for this purpose...

more options

Hello Philipp,

Thank you for your answer.

Do you know if there is any other way to disable or reduce security in FF that would allow for me to change the value of a file input field? Like in about:config or somewhere else?

As I mentioned, this is only for my personal use on a separate profile. So if I disabled security, to me, it would be fine.

If not I would have to learn the whole creating a Firefox extension bit and then redevelop my script to extensions.

Thank you