Under "Scripting API" it says "the code parameter is removed so that arbitrary strings can no longer be executed [...] you need to move any arbitrary strings executed as scripts to files". I don't see how something like greasemonkey can continue existing given that limitation.