I haven't been able to get this to work on surf-0.1.2, the script doesn't seem to run and I can't see in the surf source anywhere it is specified. Is there a patch I'm missing?
On 25/09/2009, Szabolcs Nagy <[email protected]> wrote: > On 9/25/09, hailukah <[email protected]> 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 > > -- ===================== http://jessta.id.au
