How to enable scripts

Ask for help about NoScript, no registration needed to post
finas
Posts: 2
Joined: Sat Sep 19, 2015 10:48 pm

How to enable scripts

Post by finas »

When i try to log in in a site, i can' t because the site requires javascript.
So how could i get this?
Allowing the site temporanley i am exposed to java, xxs and other attaks like these?
And what are ''object''? Why they are blocked?
Basically noscript must be disabled if you want to log in a site for example. So when you temporanley disable it, are you vulnerable for this attaks?
Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Firefox/38.0
barbaz
Senior Member
Posts: 11142
Joined: Sat Aug 03, 2013 5:45 pm

Re: How to enable scripts

Post by barbaz »

finas wrote:When i try to log in in a site, i can' t because the site requires javascript.
So how could i get this?
Try allow or temporarily allow the site's Javascript (plus whatever other sites are required, if any) via the NS menu. Does it then work to log in?
finas wrote:Allowing the site temporanley i am exposed to java, xxs and other attaks like these?
What's a 'java' type of attack?

You are not so vulnerable to XSS as you seem to think - NoScript sanitises requests that look like XSS, and it's stricter in doing so from a non-allowed site to an allowed site.

What other attacks?
finas wrote:And what are ''object''? Why they are blocked?
Object, to NoScript, is anything listed in NoScript Options > Embeddings
It's blocked because it's not necessarily safe, and should only be allowed from trusted origins.
finas wrote:Basically noscript must be disabled if you want to log in a site for example.
No. That is a ludicrous concept - seeing that NoScript requires browser restart to be disabled/enabled, if this were required just to do something as basic and universal as log into a site, NoScript would seriously suck in terms of usability, and certainly wouldn't be a top add-on in AMO (currently it's #4).

What feature specifically is getting in your way? If you can be more specific maybe we can help you find an actual solution.
finas wrote: So when you temporanley disable it, are you vulnerable for this attaks?
Yes.
*Always* check the changelogs BEFORE updating that important software!
-
finas
Posts: 2
Joined: Sat Sep 19, 2015 10:48 pm

Re: How to enable scripts

Post by finas »

Thank you for the reply. I wanted only log in to a site, without temporanley disable noscript.
For example in the noscript menu i see ''allowgoogle.api'', ''allow x'' and maybe allowing only some of these scripts shown in the drop down menu, i colud be able to log in without temporanley enable all the scritp that is boring.
Also noscript protect against WRTC? I saw in firefox one option in about:config to disable it ("media.peerconnection.enabled", false). If i run noscript should i have to disable webrtc also in the about:config?
The same thing with ''webgl.disabled'' In about:config there is an option to disable it. But i red that noscript protect against webgl. So should it be disabled in about:config too or running noscript is already sufficient to disble it?
Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Firefox/38.0
barbaz
Senior Member
Posts: 11142
Joined: Sat Aug 03, 2013 5:45 pm

Re: How to enable scripts

Post by barbaz »

finas wrote:Thank you for the reply. I wanted only log in to a site, without temporanley disable noscript.
For example in the noscript menu i see ''allowgoogle.api'', ''allow x'' and maybe allowing only some of these scripts shown in the drop down menu, i colud be able to log in without temporanley enable all the scritp that is boring.
googleapis is likely required for the login. I'd start with enabling just that and the site, see if works...

If you want more information than that, please provide a link to this site.

Oh, and in case I didn't make it clear before, allowing all scripts is *not* equivalent to disabling NoScript.
finas wrote:Also noscript protect against WRTC? I saw in firefox one option in about:config to disable it ("media.peerconnection.enabled", false). If i run noscript should i have to disable webrtc also in the about:config?
NoScript doesn't do anything re: WebRTC, so yes it's needed to disable it in about:config.
finas wrote:The same thing with ''webgl.disabled'' In about:config there is an option to disable it. But i red that noscript protect against webgl. So should it be disabled in about:config too or running noscript is already sufficient to disble it?
NoScript can protect against WebGL, but IIRC that feature is not enabled by default. You probably need to go to NoScript Options > Embeddings and turn it on.
If you entirely disable WebGL in about:config then NoScript will have no way to allow WebGL when you ask it to, so leave WebGL enabled in about:config if you want NoScript to manage it.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
therube
Ambassador
Posts: 7979
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: How to enable scripts

Post by therube »

i try to log in in a site
URL?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 SeaMonkey/2.35
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: How to enable scripts

Post by Thrawn »

barbaz wrote:NoScript can protect against WebGL, but IIRC that feature is not enabled by default. You probably need to go to NoScript Options > Embeddings and turn it on.
Yes and no. WebGL requires JavaScript. So it's automatically blocked on sites that aren't trusted. You can choose to disable it on trusted sites as well, if you want, like other embeddings.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
Post Reply