cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling Javascript for individual Websites

SOLVED
Highlighted
New User

Disabling Javascript for individual Websites

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?

1 ACCEPTED SOLUTION

Accepted Solutions
SUMO Contributor

Re: Disabling Javascript for individual Websites

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/

7 REPLIES

Re: Disabling Javascript for individual Websites

Site Moderator

Re: Disabling Javascript for individual Websites

Support Forum Moderator

Re: Disabling Javascript for individual Websites

New User

Re: Disabling Javascript for individual Websites

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.

Site Moderator

Re: Disabling Javascript for individual Websites

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:

SUMO Contributor

Re: Disabling Javascript for individual Websites

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/

New User

Re: Disabling Javascript for individual Websites

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

Thanks to all the contributors. You guys are awesome!