Is there an equivalent of NoScript for Opera?

Forums » General Opera topics » Security and privacy in Opera

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

8. May 2007, 00:46:33

RJARRRPCGP

Posts: 56

Is there an equivalent of NoScript for Opera?

With Firefox, there's an extension available for making sure that only the scripts of trusted websites are ran.

NoScript can prevent extraneous scripts from running on a website.

8. May 2007, 10:58:02

scipio

Undutchable

Posts: 29781

Try this UserScript: http://userjs.org/scripts/browser/enhancements/disable-script
Aprendí a ser formal y cortés, cortándome el pelo una vez por mes.

8. May 2007, 14:54:05

jp10558

Posts: 4163

I would expect you could turn off JavaScript from the F12 menu, and use site preferences to turn on JavaScript for sites you want to run it.
Opera 12; Windows 7 x64 SP1; Intel Xeon W3550; 12GB DDR 1333; 3.5M/128k DSL ; Comodo IS 5.10;Proxomitron 4.5j Sidki 2010-10, Custom Filters;
Journal

8. May 2007, 21:10:48

RJARRRPCGP

Posts: 56

Originally posted by jp10558:

I would expect you could turn off JavaScript from the F12 menu, and use site preferences to turn on JavaScript for sites you want to run it.



That won't work, because then websites are majorly crippled!

8. May 2007, 21:47:02

jp10558

Posts: 4163

I may misunderstand NoScript then, I thought it did exactly that.
Opera 12; Windows 7 x64 SP1; Intel Xeon W3550; 12GB DDR 1333; 3.5M/128k DSL ; Comodo IS 5.10;Proxomitron 4.5j Sidki 2010-10, Custom Filters;
Journal

8. May 2007, 22:24:14

booBot

a general purpose bot

Posts: 737

Originally posted by RJARRRPCGP:

That won't work, because then websites are majorly crippled!


I can not confirm this, I have my Opera defaulting to disable|switch-off everything. Then, on the per-site basis I selectively enable the barest minimum of browser features needed to view a given site.

9. May 2007, 20:57:56

RJARRRPCGP

Posts: 56

Originally posted by booBot:

Originally posted by RJARRRPCGP:

That won't work, because then websites are majorly crippled!


I can not confirm this, I have my Opera defaulting to disable|switch-off everything. Then, on the per-site basis I selectively enable the barest minimum of browser features needed to view a given site.



NoScript can prevent scripts from running while allowing some others to run.

Check out the NoScript website:

http://noscript.net/

9. May 2007, 21:04:23

RJARRRPCGP

Posts: 56

There's also this feature:

Forbid META redirections inside <noscript> elements, which are often used to send the unwilling user to a dumb "Please enable JavaScript" page. Notice that this option may interfere with the RefreshBlocker extension.

10. May 2007, 10:51:52

jp10558

Posts: 4163

Hmmm, to do that, I think you'd need the userjs then.

I honestly can't get that worked up about javascript - it's harmless IME. Worst thing it can do is crash Opera, and not very often IME.
Opera 12; Windows 7 x64 SP1; Intel Xeon W3550; 12GB DDR 1333; 3.5M/128k DSL ; Comodo IS 5.10;Proxomitron 4.5j Sidki 2010-10, Custom Filters;
Journal

21. May 2007, 15:43:16

VJgamer

Posts: 484

I keep hearing about this No Script extension. All the firefox people keep using this as a reason that Firefox is better. Can't you get the same result if you:

1. Uncheck:
Tools > Preferences > Advanced > Content:
Enable Javascript
Enable Java
Enable plug-ins

2. Visit the site you want to use javascript on.

3. Press F12 > Edit site preferences...:
Content:
Enable Java
Enable plug-ins

Scripting:
Enable JavaScript

Just repeat step 3 for every site that you wish scripts to be run one?

Is the META refresh the only issue with this method?

22. May 2007, 13:55:52

booBot

a general purpose bot

Posts: 737

Originally posted by RJARRRPCGP:

NoScript can prevent scripts from running while allowing some others to run.


Please explain what do you mean by "others".
In which detail my configuration of Opera is different to a NoScripted FF?

14. July 2007, 17:10:42

L_V

Posts: 366

I support RJARRRPCGP request.

When you visit a page, you don't execute only scripts from the pages which can be useful, but plenty of others which are junk and unwanted, and just slowing down the speed.
This is what we easily learn by using NoScript extension of Firefox. (see http://noscript.net/ )

You can then allow just the script from the site, and disable all other external scripts, and keep this preference permanent.
Debian - Opera V12.14.1738

14. July 2007, 17:52:50

AyushJ

Posts: 4754

Originally posted by L_V:

You can then allow just the script from the site, and disable all other external scripts, and keep this preference permanent.


http://my.opera.com/community/forums/topic.dml?id=191601
http://my.opera.com/community/forums/topic.dml?id=170505

14. July 2007, 19:04:51

L_V

Posts: 366

Thanks although not so convincing to me because not sure at all if it works or not.
May be something is missing to make is more user-friendly and give more confidence on the effects.

example of side effect: "view selection source" does not work anymore.

This Script control subject may be need some refresh to be sure what we add is according to expectation.
Debian - Opera V12.14.1738

16. July 2007, 15:24:30

booBot

a general purpose bot

Posts: 737

Originally posted by L_V:

disable all other external scripts


What do you mean by the "external scripts"?
How an off-site script may appear on a page?!

16. July 2007, 15:52:40

L_V

Posts: 366

The easiest is to test NoScript on Fx, place the NoScript icon in the status bar, and play with different pages.
You sometimes discover that some sites are calling up to 6 scripts (advertising sites etc...).

Today, I tried different scripts with Opera to manage external scripts, but not satisfied (quite confusing and unclear, or blocking or even removing things you want to keep !).
Debian - Opera V12.14.1738

14. January 2009, 13:44:28 (edited)

L_V

Posts: 366

Totally disgusted with script control thread closed ?

Is there any news about a replacement of Firefox NoScript extension in Opera ?

It seems some users are still asking why managing scripts is important.
The best answer is simply: try NoScript extension in Firefox to understand.

Originally posted by L_V on Monday, 16. July 2007, 16:52:40:

The easiest is to test NoScript on Fx, place the NoScript icon in the status bar, and play with different pages.
You sometimes discover that some sites are calling up to 6 scripts (advertising sites etc...).

Today, I tried different scripts with Opera to manage external scripts, but not satisfied (quite confusing and unclear, or blocking or even removing things you want to keep !).


Many Firefox users do not switch to Opera due the lack of good javascripts control (I am part of these).

+ read http://dev.opera.com/forums/topic/197789
Debian - Opera V12.14.1738

14. January 2009, 19:35:22

jp10558

Posts: 4163

Well, for people using Proxomitron, there is a filter you can add that works pretty similarily to NoScript.
Opera 12; Windows 7 x64 SP1; Intel Xeon W3550; 12GB DDR 1333; 3.5M/128k DSL ; Comodo IS 5.10;Proxomitron 4.5j Sidki 2010-10, Custom Filters;
Journal

15. January 2009, 08:54:30

L_V

Posts: 366

The discussion if of course for users not using external tools to manage javascripts.
Debian - Opera V12.14.1738

18. January 2009, 13:44:09

shoust

Operaised

Posts: 3196

I've written a blog post on about using an alternative method of blocking scripts using a hack + block content.

http://my.opera.com/shoust/blog/2009/01/15/using-block-content-to-disable-scripts

My Opera I burning the E
Thats the way it should always B.
smile

Forums » General Opera topics » Security and privacy in Opera