Anticipate greasemonkey/greasemonkey#1726 and greasemonkey/greasemonkey#1788