You can get this via marionette via a chrome call:

```js
var chrome = client.scope({ context: 'chrome' });
chrome.executeScript(function() {
  // ...
});
```

If its a pref there is some prior art somewhere for this I am sure (MXR)