diff options
author | Brendan Taylor <whateley@gmail.com> | 2011-01-13 11:59:23 -0700 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-01-13 11:59:23 -0700 |
commit | f2c7c41f6cc70e1d509967c7487aec5126495557 (patch) | |
tree | aef0e7211a01b1cbe2c1e83086966718331db583 /README | |
parent | 422375d57659732dd8d975498ca2ae09edd4c125 (diff) |
remove the vestiges of Uzbl.run
Diffstat (limited to 'README')
-rw-r--r-- | README | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -602,25 +602,6 @@ This script tries to authenticate as user alice with password wonderland once and never retries authentication. See examples for more sofisticated, interactive authentication handler. -### JAVASCRIPT HELPER OBJECT DISABLED BECAUSE OF SECURITY LEAK - -JavaScript code run from `uzbl` is given a special object in the global -namespace which gives special privileges to these scripts. This object is called -`Uzbl`, and it is added and removed before and after the script execution so -that it is hidden to web JavaScript code (there is no race condition, since all -the JavaScript code runs in a single thread). - -Currently, the `Uzbl` object provides only one function: - -* `Uzbl.run( <command> )` - - Command is any `uzbl` command as defined above. - - Return value: a string, either empty or containing the output of the - command. Very few commands return their output currently, including `js`, - `script`, and `print`. - - Examples: - * `Uzbl.run("spawn insert_bookmark.sh")` - * `uri = Uzbl.run("print @uri")` (see variable expansion below) - ### EVENTS Unlike commands, events are not handled in `uzbl` itself, but are propagated |