I guess a non-vendor specific check would look like:

```js
var d3_behavior_selectProperty = "userSelect" in d3_documentElement.style ? "userSelect"
    : d3_vendor + "UserSelect" in d3_documentElement.style ? d3_vendor + "UserSelect"
    : null;
```

Then

```js
var d3_behavior_selectDisable = d3_behavior_selectProperty ? …
```

And

```js
var style = d3_document.body.style,
    selectValue = style[d3_behavior_selectProperty];
style[d3_behavior_selectProperty] = "none";
return function() { style[d3_behavior_selectProperty] = selectValue; };
```