Re: [dev] [surf] hide_applets user.js can also hide flash

From: Szabolcs Nagy <nszabolcs_AT_gmail.com>
Date: Fri, 25 Sep 2009 09:06:39 +0200

On 9/25/09, hailukah <shaw.josh_AT_gmail.com> wrote:
> Hi all,
>
> The user.js at http://surf.suckless.org/files/hide_applets can also
> hide flash. Add "embed" to the elementNames array.
>
> josh
>
>

i'd probably use

  (function () {
    var elementNames = ["object","applet","embed"];
    var i, j, elements, button;
    ...
  }())

to not litter global namespace and to indicate that js does not have
block scope variables
Received on Fri Sep 25 2009 - 07:06:39 UTC

This archive was generated by hypermail 2.2.0 : Fri Sep 25 2009 - 07:12:03 UTC