Introducing YesScript

YesScript is a JavaScript blacklist. It allows you to block specific websites from executing JavaScript. Unlike NoScript, YesScript isn’t meant to provide any extra security. It’s my opinion that Firefox is secure enough that a JavaScript whitelist like NoScript is at best unnecessary. YesScript is for preventing annoyances – certain sites abuse JavaScript by opening unrequested pop-ups, for example.

A single click on the YesScript icon in the status bar is all it takes; the site will immediately stop executing JavaScript. Another click will free it from this restriction. You also get a dialog where you can add and remove entries at will. That’s all there is to it – no complicated preference dialogs that try to scare you, no nested menus to navigate, no interrupting you with needless questions.

6 Responses to “Introducing YesScript”

  1. Brian Yi Says:

    On first run, the options box looks like this: http://delta.nfshost.com/stuff/yesscript1-fs8.png

    On second run, the options box looks like this: http://delta.nfshost.com/stuff/yesscript2-fs8.png

    The window can’t be resized. I’m using Firefox 2.

  2. jason Says:

    Brian, it’s resizable on my machine. I’ll try it on Windows and update if necessary. Thanks for the heads up.

  3. pirlouy Says:

    It doesn’t work for me (Windows XP – firefox 2).
    Even if I click on statusbar icon (icons becomes black), scripts are always executed.

    For window options, on a new profile, I have the same behavior as Brian.
    On my old profile (I don’t think it is corrupted), the window doesn’t appear and addons window is not accessible anymore (once I’ve clicked on Options).

  4. jason Says:

    I’ve figured out the dialog issue and it’ll be in the next release. I’m just waiting for some localizations before doing it.

    I haven’t had any problems with blocking scripts though. Perhaps the page you’re on has frames and those frames are executing JavaScript?

  5. pirlouy Says:

    No, it was common sites, but I think it was linked to this options window. I’ll wait for the next build.

  6. Introducing SomeScript | .tnb Says:

    [...] YesScript, it’s GPLv2, the source is available for all to see. I don’t take ad bribery, so SomeScript will [...]

Leave a Reply

Adventures in development – Web standards and Firefox extensions