Quoth Thuban: > I already use a script like this, but don't you think that a javascript > solution is not the best. > When you use surf without javascript (-s), this script is useless.
Yes, I agree it isn't ideal, for that reason. But nobody has written an alternative. An easier workaround could be to patch surf to whitelist everything in script.js, even when running 'surf -s'. I looked briefly into doing this in the past, but didn't figure out the magic webkit toggle.