greasemonkey/greasemonkey — pull request #1892 by argonel (2014-03-15 00:44:08+00:00)
Title: GM_addStyle now returns the added element

When GM_addStyle was added to the sandbox, it was wrapped in such a way as to discard the element returned by the GM_addStyle implementation. This patch converts the wrapper to a standard GM_util.hitch. This will save folks from having to resort to more complicated methods to find the added stylesheet.