Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

Can someone help me understand what messing with image.http.accept to get other image formats would do?

  • 5 одговорa
  • 0 има овај проблем
  • 5 прегледа
  • Последњи одговор послао cor-el

more options

I am trying to download the original version of an image, not the re-compressed webp version (Yes, I know some websites only have a webp format image, but I am specifically talking about sites where I can flat out see .jpg or .png in the URL but it's forcing a recompressed webp version on me instead, reddit itself is one of those sites that does this, I cam flat out see the url ending in .jpg or .png, and then a lot of other gibberish after which if I make any changes to breaks the image, and if I leave as-is forces a webp version. Wikia sites are another that do this.). A lot of what I Google on how to do this is not relevant anymore, telling me to modify a setting that no longer exists, add a variable to the URL that no longer works, or install a plugin that does not seem to work anymore and might be a security risk.

The one thing that seems to work is going to the image.http.accept setting and putting in "*/*". Problem is, I have no idea what exactly this is doing, and it looks like to me that I am somehow telling it just allow everything, which worries me if it can be a security risk or something. Can someone help me understand what exactly I am doing when I modify this setting like this and if it's a security risk to do so?

I am trying to download the original version of an image, not the re-compressed webp version (Yes, I know some websites only have a webp format image, but I am specifically talking about sites where I can flat out see .jpg or .png in the URL but it's forcing a recompressed webp version on me instead, reddit itself is one of those sites that does this, I cam flat out see the url ending in .jpg or .png, and then a lot of other gibberish after which if I make any changes to breaks the image, and if I leave as-is forces a webp version. Wikia sites are another that do this.). A lot of what I Google on how to do this is not relevant anymore, telling me to modify a setting that no longer exists, add a variable to the URL that no longer works, or install a plugin that does not seem to work anymore and might be a security risk. The one thing that seems to work is going to the image.http.accept setting and putting in "*/*". Problem is, I have no idea what exactly this is doing, and it looks like to me that I am somehow telling it just allow everything, which worries me if it can be a security risk or something. Can someone help me understand what exactly I am doing when I modify this setting like this and if it's a security risk to do so?

Сви одговори (5)

more options

How about providing the steps to replicate so we can see what you're talking about.

more options

I'm not sure what you mean by steps to replicate? I am asking about a configration option, not reporting a bug.

But if you want an example, take a random post on Reddit with an image, such as this:

https://www.reddit.com/r/pcmasterrace/comments/1br7z8t/heres_a_picture_of_the_starfield_graphics_card_i/  

If you try to save the image, it will save in .webp format. If you copy the image link, you will see "https://preview.redd.it/9txlwwg25erc1.jpeg?width=1024&auto=webp&s=bc7c4fcaf6d34b08e1e2a75fe428e4b4c9d425e5" which clearly shows the image is in .jpeg format, but is being recompressed to webp.

If I go to "about:config", go to the "image.http.accept" setting, and enter "*/*" in there, then refresh, then when I try to save the image again it will download in .jpeg format.

My question is what exactly am I telling Firefox to do when I modify that setting? I know that * is a wildcard that basically means anything in place of that character, so I want to know I am somehow making Firefox accept things it should not or lettings things that could be a security risk or so getting through if I add that parameter to "image.http.accept".

more options

Gotcha. Looks like KDE browser has a better option. see screenshot

more options

Disregard.

Измењено од стране jonzn4SUSE

more options