On 9/25/09, hailukah <shaw.j...@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