Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Disabling Javascript for individual Websites

  • 7
  • 7
  • 61 views
  • Nzaghachi ikpeazụ nke stepan1

more options

I have finally isolated the source of unblockable ads that pop up on certain Websites, but not others. These ads originate from different sources, but many of them are Chitka ads that block part of the screen and can't even be clicked OFF. They just continuously block what you are trying to read or see.

When I disable Java on Firefox, these ads disappear--totally. Unfortunately, many other Websites that I visit utilize Java. So I am wondering, "Why can't we have control over which Websites display Java and which ones don't--much like blocking popup ads from certain Websites and allowing them from others?"

The only work around I have found, is to open TWO browsers: Firefox with Java disabled to view the sites that have the annoying ads and Internet Explorer with Java enabled to view the sites that require Java and don't have annoying popups.

Am I the only one having this problem?

I have finally isolated the source of unblockable ads that pop up on certain Websites, but not others. These ads originate from different sources, but many of them are Chitka ads that block part of the screen and can't even be clicked OFF. They just continuously block what you are trying to read or see. When I disable Java on Firefox, these ads disappear--totally. Unfortunately, many other Websites that I visit utilize Java. So I am wondering, "Why can't we have control over which Websites display Java and which ones don't--much like blocking popup ads from certain Websites and allowing them from others?" The only work around I have found, is to open TWO browsers: Firefox with Java disabled to view the sites that have the annoying ads and Internet Explorer with Java enabled to view the sites that require Java and don't have annoying popups. Am I the only one having this problem?

Asịsa ahọpụtara

The NoScript extension is great, but, you need to be committed to the minimal scripting principle because sites increasingly expect access to multiple domains. In other words, you don't just need to approve facebook.com, but several other domains including their content distribution network domain. And there's no way for the extension to inform you in advance which ones are critical functionality, which ones are just ads, etc. So you may end up reloading the page a few times before you get it just the way you like. Of course, if it's a site on which you plan to spend a good deal of time, it's worth it. As I say to my colleagues, "What ads?"

http://noscript.net/

Gụọ azịza a na nghọta 👍 1

All Replies (7)

more options
more options
more options
more options

In answer to the suggestions:

1. I have read about yesscript, but haven't tried it, because of user comments to the effect that it was difficult to decide which scripts to allow to run on a particular Webpage and which scripts to not allow to run. If I get frustrated enough, I may try it.

2. The-edmeister is quite correct, it is JavaScript and NOT Java that I am talking about. Disabling JavaScript on Firefox is what stops the referenced ads cold. Nothing else works, except possibly yesscript with its operating caveats.

3. I have the Adblock Plus Popup Addon. It works with most popup ads, but not the JavaScript ads at the bottom of the page I am talking about.

For some reason these ads only popup on certain Websites and not others--possibly because the site owners allow them for additional revenue?

But, I want to have control over MY computer and MY browsing experience without the frustration of clicking OFF (or not even being able to click OFF) revenue-generating ads.

So, my question remains, "Would it not be possible to disable JavaScript on a Website-by-Website basis?"

I think that would be a great addition to the Firefox browsing experience.

more options

Note that a lot of websites rely on JavaScript working properly for building/updating the page and make links work (e.g. add onclick events) and you may only want to disable one specific JavaScript file to remove specific content.

You will have to check which script is responsible for that bar and then add a specific rule in an extension (ABP) to block that file.
You should be able to see this in the page source.

Firefox has docshell support to disable JavaScript and other like plugins and images on a tab base, but for specific domains you need an extension like YesScript or NoScript or Adblock Plus.

See also:

more options

Asịsa Ahọpụtara

The NoScript extension is great, but, you need to be committed to the minimal scripting principle because sites increasingly expect access to multiple domains. In other words, you don't just need to approve facebook.com, but several other domains including their content distribution network domain. And there's no way for the extension to inform you in advance which ones are critical functionality, which ones are just ads, etc. So you may end up reloading the page a few times before you get it just the way you like. Of course, if it's a site on which you plan to spend a good deal of time, it's worth it. As I say to my colleagues, "What ads?"

http://noscript.net/

Edeziri site na jscher2000 - Support Volunteer

more options

I installed noscript and the amazing thing is "It worked!"

Thanks to all the contributors. You guys are awesome!