asvd / jailed

execute untrusted code with custom permissions
MIT License
1.01k stars 69 forks source link

Location #36

Open candreoliveira opened 8 years ago

candreoliveira commented 8 years ago

I'm looking for a way to share application window.location with plugin.

// plugin.js application.remote.alert(application.remote.location.href);

How to accomplish that?

asvd commented 8 years ago

For now you can export a method from a plugin into application, and call that method from outside providing the data as an argument and storing it somewhere on the plugin side.

Exporting data directly is a pending feature on my todo-list.