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!

본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How do I enable javascript on per-URL basis?

more options

Important: NoScript add-on is not the answer!

I am trying to secure my Firefox so that by default all scripting is disabled, but can be enabled on per-URL basis. It seems that Firefox itself doesn't have an option for that, and I have to use add-ons. Unfortunately, all add-ons I tried, including NoScript, require javascript to be globally enabled in Firefox (Tools -> Options -> Content -> Enable Javascript). Then they apply their settings, including whitelist. I am not satisfied with this kind of solution, because if something prevents an add-on from running or forces it to stop, the global setting of "enable javascript" kicks in and suddenly all pages can use scripting.

1) Is it technically possible to get a per-URL control with "Enable Javascript" set to disabled?

2) Is there any kind of UI where I could set it so? There are very few websites where I allow javascript, so even something like manually creating an extension is fine with me.

Important: NoScript add-on is not the answer! I am trying to secure my Firefox so that by default all scripting is disabled, but can be enabled on per-URL basis. It seems that Firefox itself doesn't have an option for that, and I have to use add-ons. Unfortunately, all add-ons I tried, including NoScript, require javascript to be globally enabled in Firefox (Tools -> Options -> Content -> Enable Javascript). Then they apply their settings, including whitelist. I am not satisfied with this kind of solution, because if something prevents an add-on from running or forces it to stop, the global setting of "enable javascript" kicks in and suddenly all pages can use scripting. 1) Is it technically possible to get a per-URL control with "Enable Javascript" set to disabled? 2) Is there any kind of UI where I could set it so? There are very few websites where I allow javascript, so even something like manually creating an extension is fine with me.

모든 댓글 (8)

more options

You can look at this extension:

more options

Thanks. Unfortunately, YesScript doesn't provide whitelist functionality at all. NoScript at least has a second-level whitelist, which I still consider insufficient.

more options

There aren't any extensions that allow to enable JS on a URL basis (white-list) apart from NoScript.

Another extension that allows to enable JavaScript on a tab base.

more options

I am afraid that's pretty much the same case: If I disable javascript in the Firefox options, the settings for Tab Permissions (also other extensions by Nag. Matsui) are irrelevant.

more options

You can't disable JavaScript globally.
If you do that then it isn't possible to enable it in specific cases.
The only way is to enable JS globally and either disable it by default (NoScript) or enable it by default (YesScript) and change the setting for a specific web page.

Adblock Plus also can block JavaScript.

more options

I was afraid that might be the case. Oh well. I will need to check the possibilities in other browsers. Though it seems pretty hopeless - so far the only browsers than can do what I want are Opera (soon to be dumbed down) and Internet Explorer (not trustworthy at all).

more options

BTW, to stay secure, update to Firefox 21 Update Firefox to the latest release

more options

I think I've been using NoScript for over 8 years and can't recall ever seeing it stop working of its own accord. While security concern is healthy, the feared scenario may well be extremely improbable.