{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/a2055b3cfede02feaa68ee43fe66d6cf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a2055b3cfede02feaa68ee43fe66d6cf","url":"https://api.github.com/users/arantius","login":"arantius","id":84729},"milestone":{"state":"open","open_issues":6,"url":"https://api.github.com/repos/greasemonkey/greasemonkey/milestones/30","due_on":null,"number":30,"creator":{"avatar_url":"https://secure.gravatar.com/avatar/a2055b3cfede02feaa68ee43fe66d6cf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a2055b3cfede02feaa68ee43fe66d6cf","url":"https://api.github.com/users/arantius","login":"arantius","id":84729},"title":"0.9.14","description":"","closed_issues":0,"created_at":"2011-11-03T14:27:15Z"},"labels":[],"assignee":null,"updated_at":"2011-11-08T08:02:04Z","comments":24,"closed_at":null,"url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/1452","body":"There should be a way for existing \"userland\" update scripts to know that they're running in a version of Greasemonkey that does updates itself, and skip running.  In order for this to be useful, they should also know whether updates are running.\r\n\r\nThe branch already merged from #1053 did something like this, but I didn't keep it in the merge because I wasn't totally comfortable with exactly the way it was implemented.  I always meant to revisit.  This issue is to track that this happens.","html_url":"https://github.com/greasemonkey/greasemonkey/issues/1452","number":1452,"title":"Expose (version) information to user scripts","id":2023933,"created_at":"2011-10-22T18:42:52Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/580e00312773d30472c21660f69eb0da?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"580e00312773d30472c21660f69eb0da","url":"https://api.github.com/users/johan","login":"johan","id":2459},"updated_at":"2011-11-08T08:02:04Z","url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/comments/2664797","body":"I think we present the same idea, except maybe this part:\r\n\r\n> Key/value pairs that GM treats as strict should stay strict when getting it from this function/constant; only show the `@name` and `@namespace` that is used by GM.\r\n\r\nIn the half-parsed `GM_head` proposal, `name` and `namespace` would be treated no different from anything else, now or in the future: if some script has twelve of each, those properties become twelve-item arrays. In the `GM_info` object, they are single strings, without any arrays wrapping them.\r\n\r\nBoth `GM_head` and `GM_info` should be simple and internally consistent views on the header data, and they target different use cases.","id":2664797,"created_at":"2011-11-08T08:02:04Z"}}