搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Stop download action on firefox

more options

Hi,

I want to stop .jpg download action on firefox browser in smart phones. Is there a java script for that purpose?

Help me.

Thank you,

Roshan

Hi, I want to stop .jpg download action on firefox browser in smart phones. Is there a java script for that purpose? Help me. Thank you, Roshan

所有回复 (4)

more options

Hi, you can actually set preference under the covers on Firefox.

Here are some steps you may try:

(1) Open a new tab to about:config (type about:config in the Awesomebar and tap the go arrow or tap Enter).

(2) In the search box, type perm and pause while Firefox filters the list

(3) Scroll down to permissions.default.image and tap it, then use the up arrow icon (^) to change the value from 1 to 2 (from "allow all" to "block all").

You can also look for an add-on if it is available.

more options

In current Firefox for Android releases is about:config only enabled in Nightly builds and not in release versions, so you won't be able to modify this pref.

more options

The developers are hoping to add image blocking to Firefox for Android toward the end of the year, but for now, you can use the uBlock Origin extension. You can install that using whichever of these lists that extension:

  • menu > Add-ons
  • menu > Add-ons > Add-on Manager

After installing:

menu > Add-ons > uBlock Origin

Cast your gaze down past the current site controls and tap Open the Dashboard

On the "Settings" panel, scroll/swipe down to the "Default behavior" section.

Turn on "Block media elements larger than" and set the desired size. Using 0 (zero) will block all images, audio, and video.

I have experimented with this for 90 seconds, so I'm sure there are more nuances, but:

  • To retrieve and display an image/video on a page, I just need to tap it (no idea about audio)
  • If the image is linked, a second tap activates the link
  • To make a site exception, I need to go to menu > Add-ons > uBlock Origin, then tap the relevant icon

Maybe that will help?

由jscher2000 - Support Volunteer于修改

more options

By the way, I'm assuming you meant Firefox for Android. A moderator can move this thread to that forum.

If you are asking about iOS, it has completely different features based on Safari plumbing.