Hello, I am trying to make a bookmarklet test. Below code works on FireFox but couldn't on Safari 4.0.3. Does anybody know how to make it work on Safari?
javascript:var s = document.createElement("script");
s.text = "document.write('hello');";
s.type = "text/javascript";
document.body.appendChild(s);